WIP: Metadata
This commit is contained in:
@@ -85,7 +85,6 @@ export class BookCardComponent implements OnInit {
|
||||
openBookDetailsDialog(bookId: number): void {
|
||||
this.bookService.getBookByIdFromAPI(bookId, true).subscribe(({
|
||||
next: (book) => {
|
||||
console.log(book)
|
||||
this.dialogService.open(BookInfoTabsComponent, {
|
||||
header: 'Open book details',
|
||||
modal: true,
|
||||
|
||||
@@ -36,14 +36,6 @@
|
||||
</div>
|
||||
</li>
|
||||
<p-divider layout="vertical" />
|
||||
|
||||
<li>
|
||||
<a class="topbar-item">
|
||||
<i class="pi pi-book text-surface-700 dark:text-surface-100" (click)="openBookDetailsDialog()"
|
||||
pTooltip="Book Details" tooltipPosition="top"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="topbar-item">
|
||||
<i class="pi pi-plus-circle text-surface-700 dark:text-surface-100" (click)="openLibraryCreatorDialog()"
|
||||
|
||||
@@ -77,22 +77,6 @@ export class AppTopBarComponent implements OnDestroy {
|
||||
this.showEvents = !this.showEvents;
|
||||
}
|
||||
|
||||
|
||||
openBookDetailsDialog(): void {
|
||||
this.ref = this.dialogService.open(BookInfoTabsComponent, {
|
||||
header: 'Open book details',
|
||||
modal: true,
|
||||
closable: true,
|
||||
width: '1200px',
|
||||
height: '835px',
|
||||
showHeader: false,
|
||||
closeOnEscape: true,
|
||||
data: {
|
||||
bookId: 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
openLibraryCreatorDialog(): void {
|
||||
this.ref = this.dialogService.open(LibraryCreatorComponent, {
|
||||
header: 'Create New Library',
|
||||
|
||||
Reference in New Issue
Block a user