mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-16 22:38:33 +00:00
fix: i18n refs, unnecessary logs (#1343)
This commit is contained in:
parent
40a7e958d7
commit
2e04c977eb
@ -70,7 +70,8 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="environment" *ngFor="let environmentV of (environmentMap | keyvalue)">
|
<ng-container *ngFor="let environmentV of (environmentMap | keyvalue)">
|
||||||
|
<div *ngIf="environmentV.value" class="environment">
|
||||||
<span class="key">{{environmentV.key}}</span>
|
<span class="key">{{environmentV.key}}</span>
|
||||||
<div class="environment-row">
|
<div class="environment-row">
|
||||||
<span>{{environmentV.value}}</span>
|
<span>{{environmentV.value}}</span>
|
||||||
@ -83,6 +84,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="compliance"
|
<div class="compliance"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<div [routerLink]="['/projects', projectId, 'apps', app.id ]" class="app-wrap"
|
<div [routerLink]="['/projects', projectId, 'apps', app.id ]" class="app-wrap"
|
||||||
*ngFor="let app of appsSubject | async"
|
*ngFor="let app of appsSubject | async"
|
||||||
matTooltip="{{'APP.APPTYPE.'+app?.oidcConfig?.applicationType | translate}}">
|
matTooltip="{{'ACTIONS.EDIT' | translate}}">
|
||||||
<cnsl-app-card class="grid-card" matRipple [type]="app.oidcConfig?.applicationType"
|
<cnsl-app-card class="grid-card" matRipple [type]="app.oidcConfig?.applicationType"
|
||||||
[isApiApp]="app.apiConfig !== undefined">
|
[isApiApp]="app.apiConfig !== undefined">
|
||||||
{{ app.name.charAt(0)}}
|
{{ app.name.charAt(0)}}
|
||||||
|
@ -38,7 +38,6 @@ export class ApplicationGridComponent implements OnInit {
|
|||||||
finalize(() => this.loadingSubject.next(false)),
|
finalize(() => this.loadingSubject.next(false)),
|
||||||
).subscribe((apps) => {
|
).subscribe((apps) => {
|
||||||
this.appsSubject.next(apps as Application.AsObject[]);
|
this.appsSubject.next(apps as Application.AsObject[]);
|
||||||
console.log(apps);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ export class ProjectApplicationsDataSource extends DataSource<Application.AsObje
|
|||||||
map(resp => {
|
map(resp => {
|
||||||
const response = resp.toObject();
|
const response = resp.toObject();
|
||||||
this.totalResult = response.totalResult;
|
this.totalResult = response.totalResult;
|
||||||
console.log(response.resultList);
|
|
||||||
if (response.viewTimestamp) {
|
if (response.viewTimestamp) {
|
||||||
this.viewTimestamp = response.viewTimestamp;
|
this.viewTimestamp = response.viewTimestamp;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,11 @@
|
|||||||
<th mat-header-cell *matHeaderCellDef> {{ 'APP.TYPE' | translate }} </th>
|
<th mat-header-cell *matHeaderCellDef> {{ 'APP.TYPE' | translate }} </th>
|
||||||
<td class="pointer" [routerLink]="['/projects', projectId, 'apps', app.id ]" mat-cell
|
<td class="pointer" [routerLink]="['/projects', projectId, 'apps', app.id ]" mat-cell
|
||||||
*matCellDef="let app">
|
*matCellDef="let app">
|
||||||
{{'APP.APPTYPE.'+app?.oidcConfig?.applicationType | translate}} </td>
|
<span *ngIf="app?.oidcConfig?.applicationType !== undefined && app?.oidcConfig?.applicationType !== null">
|
||||||
|
{{'APP.OIDC.APPTYPE.'+app?.oidcConfig?.applicationType | translate}}
|
||||||
|
</span>
|
||||||
|
<span *ngIf="app.apiConfig">API</span>
|
||||||
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user