This commit is contained in:
Omar Nabil
2026-02-21 23:53:59 -06:00
committed by GitHub
parent 7917f9fdda
commit d7975ac855
18 changed files with 71 additions and 39 deletions
@@ -120,8 +120,19 @@
</td>
</ng-container>
<ng-container matColumnDef="no-data">
<td mat-footer-cell *matFooterCellDef [attr.colspan]="identitiesColumns.length">
<div class="table-empty-state">
<p>{{ 'labels.messages.No Identities Available' | translate }}</p>
</div>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="identitiesColumns"></tr>
<tr mat-row *matRowDef="let row; columns: identitiesColumns"></tr>
@if (clientIdentities?.length === 0) {
<tr mat-footer-row *matFooterRowDef="['no-data']"></tr>
}
</table>
</div>
@@ -20,7 +20,11 @@ import {
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
MatRow,
MatFooterCellDef,
MatFooterCell,
MatFooterRowDef,
MatFooterRow
} from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
@@ -60,7 +64,11 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
MatHeaderRowDef,
MatHeaderRow,
MatRowDef,
MatRow
MatRow,
MatFooterCellDef,
MatFooterCell,
MatFooterRowDef,
MatFooterRow
]
})
export class IdentitiesTabComponent implements OnDestroy {