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