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
-2
@@ -75,8 +75,6 @@ export class MetadataSearcherComponent implements OnInit, OnDestroy {
|
||||
distinctUntilChanged(([prevBook], [currBook]) => prevBook?.id === currBook?.id)
|
||||
).subscribe(([book, settings]) => {
|
||||
|
||||
console.log(settings!.metadataProviderSettings)
|
||||
|
||||
this.providers = Object.entries(settings!.metadataProviderSettings)
|
||||
.filter(([key, value]) => value.enabled)
|
||||
.map(([key]) => key.charAt(0).toUpperCase() + key.slice(1));
|
||||
|
||||
Reference in New Issue
Block a user