mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 02:57:32 +00:00
fix linting
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
</a>
|
||||
</ng-template>
|
||||
|
||||
|
||||
<cnsl-new-header></cnsl-new-header>
|
||||
|
||||
<span class="fill-space"></span>
|
||||
|
@@ -45,4 +45,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,9 +1,6 @@
|
||||
<div class="upper-content">
|
||||
<span class="dropdown-label">{{ 'MENU.INSTANCEOVERVIEW' | translate }}</span>
|
||||
<a
|
||||
(click)="setInstance(instance)"
|
||||
mat-button
|
||||
class="dropdown-button"
|
||||
<a (click)="setInstance(instance)" mat-button class="dropdown-button"
|
||||
>{{ instance.name }}
|
||||
<i class="las la-1x la-angle-right"></i>
|
||||
</a>
|
||||
|
@@ -43,7 +43,6 @@
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
|
||||
.dropdown-button {
|
||||
height: 32px;
|
||||
min-height: 32px;
|
||||
|
@@ -1,6 +1,5 @@
|
||||
<cnsl-refresh-table [hideRefresh]="true" [loading]="listOrganizationsQuery.isPending()">
|
||||
<cnsl-filter-org actions (filterChanged)="applySearchQuery($any($event), paginator)">
|
||||
</cnsl-filter-org>
|
||||
<cnsl-filter-org actions (filterChanged)="applySearchQuery($any($event), paginator)"> </cnsl-filter-org>
|
||||
|
||||
<ng-template actions cnslHasRole [hasRole]="['org.create', 'iam.write']">
|
||||
<a [routerLink]="['/orgs', 'create']" color="primary" mat-raised-button>
|
||||
|
@@ -24,7 +24,8 @@
|
||||
</div>
|
||||
<p class="user-sub cnsl-secondary-text">
|
||||
{{
|
||||
(type === Type.HUMAN ? 'DESCRIPTIONS.USERS.HUMANS.DESCRIPTION' : 'DESCRIPTIONS.USERS.MACHINES.DESCRIPTION') | translate
|
||||
(type === Type.HUMAN ? 'DESCRIPTIONS.USERS.HUMANS.DESCRIPTION' : 'DESCRIPTIONS.USERS.MACHINES.DESCRIPTION')
|
||||
| translate
|
||||
}}
|
||||
</p>
|
||||
<ng-template cnslHasRole [hasRole]="['user.write']" actions>
|
||||
@@ -172,15 +173,15 @@
|
||||
<ng-container matColumnDef="state">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'USER.DATA.STATE' | translate }}</th>
|
||||
<td mat-cell *matCellDef="let user" [routerLink]="user.userId ? ['/users', user.userId] : null">
|
||||
<span
|
||||
class="state"
|
||||
[ngClass]="{
|
||||
active: user.state === UserState.ACTIVE,
|
||||
inactive: user.state === UserState.INACTIVE,
|
||||
}"
|
||||
>
|
||||
{{ 'USER.STATEV2.' + user.state | translate }}
|
||||
</span>
|
||||
<span
|
||||
class="state"
|
||||
[ngClass]="{
|
||||
active: user.state === UserState.ACTIVE,
|
||||
inactive: user.state === UserState.INACTIVE,
|
||||
}"
|
||||
>
|
||||
{{ 'USER.STATEV2.' + user.state | translate }}
|
||||
</span>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@@ -209,10 +210,10 @@
|
||||
(click)="deleteUser(user, authUser)"
|
||||
[disabled]="(canWrite$ | async) === false || (canDelete$ | async) === false"
|
||||
[attr.data-e2e]="
|
||||
(canWrite$ | async) === false || (canDelete$ | async) === false
|
||||
? 'disabled-delete-button'
|
||||
: 'enabled-delete-button'
|
||||
"
|
||||
(canWrite$ | async) === false || (canDelete$ | async) === false
|
||||
? 'disabled-delete-button'
|
||||
: 'enabled-delete-button'
|
||||
"
|
||||
mat-icon-button
|
||||
>
|
||||
<i class="las la-trash"></i>
|
||||
|
Reference in New Issue
Block a user