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;
|
return;
|
||||||
}
|
}
|
||||||
if (this.isLibrary(entity)) {
|
if (this.isLibrary(entity)) {
|
||||||
|
this.entity = entity;
|
||||||
this.entityOptions = this.libraryShelfMenuService.initializeLibraryMenuItems(entity);
|
this.entityOptions = this.libraryShelfMenuService.initializeLibraryMenuItems(entity);
|
||||||
} else {
|
} else {
|
||||||
|
this.entity = entity;
|
||||||
this.entityOptions = this.libraryShelfMenuService.initializeShelfMenuItems(entity);
|
this.entityOptions = this.libraryShelfMenuService.initializeShelfMenuItems(entity);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user