safety check

This commit is contained in:
Samuel
2020-02-05 16:28:43 +01:00
parent d0680e2aa8
commit db7ecb0f53

View File

@@ -8,9 +8,9 @@
<ng-container *ngVar="(types$ | async) as types"> <ng-container *ngVar="(types$ | async) as types">
<div *ngIf="types.length > 0" class="mb-4"> <div *ngIf="types && types.length > 0" class="mb-4">
{{'virtual-metadata.delete-item.info' | translate}} {{'virtual-metadata.delete-item.info' | translate}}
</div>
<div *ngFor="let type of types" class="mb-4"> <div *ngFor="let type of types" class="mb-4">
@@ -82,6 +82,8 @@
</div> </div>
</div>
</ng-container> </ng-container>
<button (click)="performAction()" <button (click)="performAction()"