Skip to content

Commit

Permalink
Change loading display in context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
floogulinc committed Jul 16, 2024
1 parent 30c45d6 commit 98febcb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</button>
<mat-divider></mat-divider>
@if (fullFile$ | async; as fullFile) {

@if (fullFile.is_inbox) {
<button mat-menu-item (click)="archiveFile()">
<mat-icon>archive</mat-icon>
Expand All @@ -39,9 +38,11 @@
}
} @else {
<button mat-menu-item disabled>
<span>Loading...</span>
<mat-icon>archive</mat-icon>
<span>Archive</span>
</button>
<button mat-menu-item disabled>
<span>Loading...</span>
<mat-icon>delete</mat-icon>
<span>Delete</span>
</button>
}

0 comments on commit 98febcb

Please sign in to comment.