feat(metadata-lock): add UI for toggling individual field locks with save/reset actions
This commit is contained in:
committed by
Aditya Chandel
parent
8518e57d92
commit
128fa1c847
@@ -616,8 +616,9 @@ export class BookBrowserComponent implements OnInit, AfterViewInit {
|
||||
}
|
||||
|
||||
lockUnlockMetadata() {
|
||||
const count = this.selectedBooks.size;
|
||||
this.dynamicDialogRef = this.dialogService.open(LockUnlockMetadataDialogComponent, {
|
||||
header: 'Toggle Metadata Lock',
|
||||
header: `Lock or Unlock Metadata for ${count} Selected Book${count > 1 ? 's' : ''}`,
|
||||
modal: true,
|
||||
closable: true,
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user