mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-20 11:58:47 +00:00
fix(console): migrate from tslint to eslint, project delete from table (#2490)
* es lint * modify tsconfig, auto lint some stuff * lint * lint * lint * lint * html ts lint * lint * lint, tsconfig * fix project delete, state table * eslint config, remove cnslHint directive * mfa selector, info row fixes * lint * fix login policy, granted orgs table state, lint Co-authored-by: Florian Forster <[email protected]>
This commit is contained in:
co-authored by
Florian Forster
parent
bdf63800f7
commit
b1caef81da
@@ -6,7 +6,7 @@
|
||||
<div class="text" *ngIf="features.tier">
|
||||
<p class="title"><strong>{{features.tier.name}}</strong></p>
|
||||
<p>{{features.tier?.description}}</p>
|
||||
<p class="state" [ngClass]="{'active': features.tier.state == FeaturesState.FEATURES_STATE_ACTIVE}">{{'FEATURES.TIERSTATES.'+features.tier.state | translate}}</p>
|
||||
<p class="state" [ngClass]="{'active': features.tier.state === FeaturesState.FEATURES_STATE_ACTIVE}">{{'FEATURES.TIERSTATES.'+features.tier.state | translate}}</p>
|
||||
<p >{{features.tier?.statusInfo}}</p>
|
||||
</div>
|
||||
<span class="fill-space"></span>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Features, FeaturesState } from 'src/app/proto/generated/zitadel/features_pb';
|
||||
|
||||
@Component({
|
||||
@@ -6,14 +6,9 @@ import { Features, FeaturesState } from 'src/app/proto/generated/zitadel/feature
|
||||
templateUrl: './zitadel-tier.component.html',
|
||||
styleUrls: ['./zitadel-tier.component.scss'],
|
||||
})
|
||||
export class ZitadelTierComponent implements OnInit {
|
||||
export class ZitadelTierComponent {
|
||||
@Input() public features!: Features.AsObject;
|
||||
@Input() public iam: boolean = false;
|
||||
|
||||
FeaturesState: any = FeaturesState;
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user