mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 05:38:46 +00:00
feat(console): v2 feature cleanup, fix styling issues, instance naming (#3530)
* new console * move npm ci to angular build * rel path for assets * local grpc copy * login policy, rm clear views, features rel path * login_hint param * edit default color values * remove features, zitadel-tier, contact styles * html formatter * rm feature restrictions, fix theming issues * instance naming * statehandler * rm class * rm class * update footer links * statehandler * stroked color Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
f9e79ef8fe
commit
41e60b3d8a
@@ -1,18 +0,0 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
import { HasFeaturePipe } from './has-feature.pipe';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
HasFeaturePipe,
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
],
|
||||
exports: [
|
||||
HasFeaturePipe,
|
||||
],
|
||||
})
|
||||
export class HasFeaturePipeModule { }
|
||||
@@ -1,14 +0,0 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { Observable } from 'rxjs';
|
||||
import { GrpcAuthService } from 'src/app/services/grpc-auth.service';
|
||||
|
||||
@Pipe({
|
||||
name: 'hasFeature',
|
||||
})
|
||||
export class HasFeaturePipe implements PipeTransform {
|
||||
constructor(private authService: GrpcAuthService) { }
|
||||
|
||||
public transform(values: string[]): Observable<boolean> {
|
||||
return this.authService.canUseFeature(values);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user