Disable creating collections/reading lists by default for a library. It usually results in people deleting and coming to support.
This commit is contained in:
parent
322b2953bb
commit
2314f474e6
1 changed files with 3 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ export class LibrarySettingsModalComponent implements OnInit {
|
||||||
includeInDashboard: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
includeInDashboard: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
||||||
includeInRecommended: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
includeInRecommended: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
||||||
includeInSearch: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
includeInSearch: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
||||||
manageCollections: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
manageCollections: new FormControl<boolean>(false, { nonNullable: true, validators: [Validators.required] }),
|
||||||
manageReadingLists: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
manageReadingLists: new FormControl<boolean>(false, { nonNullable: true, validators: [Validators.required] }),
|
||||||
allowScrobbling: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
allowScrobbling: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
||||||
allowMetadataMatching: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
allowMetadataMatching: new FormControl<boolean>(true, { nonNullable: true, validators: [Validators.required] }),
|
||||||
collapseSeriesRelationships: new FormControl<boolean>(false, { nonNullable: true, validators: [Validators.required] }),
|
collapseSeriesRelationships: new FormControl<boolean>(false, { nonNullable: true, validators: [Validators.required] }),
|
||||||
|
|
@ -232,6 +232,7 @@ export class LibrarySettingsModalComponent implements OnInit {
|
||||||
this.libraryForm.get('allowMetadataMatching')?.disable();
|
this.libraryForm.get('allowMetadataMatching')?.disable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.cdRef.markForCheck();
|
this.cdRef.markForCheck();
|
||||||
}),
|
}),
|
||||||
takeUntilDestroyed(this.destroyRef)
|
takeUntilDestroyed(this.destroyRef)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue