Fix unshelf button not working
This commit is contained in:
committed by
Aditya Chandel
parent
8fcc65f777
commit
13847f3bc9
@@ -144,8 +144,10 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
|
||||
return;
|
||||
}
|
||||
if (this.isLibrary(entity)) {
|
||||
this.entity = entity;
|
||||
this.entityOptions = this.libraryShelfMenuService.initializeLibraryMenuItems(entity);
|
||||
} else {
|
||||
this.entity = entity;
|
||||
this.entityOptions = this.libraryShelfMenuService.initializeShelfMenuItems(entity);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user