Move MetadataDialog to Service

This commit is contained in:
aditya.chandel
2025-01-13 10:55:53 -07:00
parent 5e2a21bb98
commit 97bd7b7165
10 changed files with 63 additions and 95 deletions
@@ -30,13 +30,16 @@
</a>
<span *ngIf="(item.routerLink && !item.items) && item.visible !== false" class="book-count">
<p-button
(mouseover)="hovered = true" (mouseleave)="hovered = false"
(mouseover)="hovered = true"
(mouseleave)="hovered = false"
[text]="true"
[outlined]="false"
[rounded]="true"
[label]="hovered ? '' : (item.bookCount$ | async)?.toString() || ''"
[icon]="hovered ? 'pi pi-ellipsis-v' : ''"
class="font-bold">
[style.width]="'30px'"
[style.height]="'30px'"
[style.display]="'flex'">
</p-button>
</span>
</div>