feat(metadata-lock): add UI for toggling individual field locks with save/reset actions

This commit is contained in:
aditya.chandel
2025-05-31 14:32:44 -06:00
committed by Aditya Chandel
parent 8518e57d92
commit 128fa1c847
8 changed files with 205 additions and 24 deletions
@@ -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: {