Skip to content

Commit 7a90111

Browse files
committed
Add indicator for bridges with no resources.
1 parent d7a2f36 commit 7a90111

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/app/dialogs/update-bridge-dialog/update-bridge-dialog.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ <h4>
123123
<button mat-button mat-raised-button
124124
class="toggle-fold" (click)="expandedResourceInfo = !expandedResourceInfo">
125125
<mat-icon *ngIf="resources && resources.length > 0" class="fold-open">expand_more</mat-icon>
126-
<mat-icon class="fold-close">unfold_less</mat-icon>
126+
<mat-icon *ngIf="resources && resources.length > 0" class="fold-close">unfold_less</mat-icon>
127+
128+
<mat-icon *ngIf="!(resources && resources.length > 0)" matTooltip="No resources found">panorama_fish_eye</mat-icon>
127129
</button>
128130

129131
<span class="title">Resources</span>

0 commit comments

Comments
 (0)