From 2314f474e62dc5cf4cfe58638b1aaa0af0ba17cc Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Sun, 11 May 2025 12:45:22 -0500 Subject: [PATCH] Disable creating collections/reading lists by default for a library. It usually results in people deleting and coming to support. --- .../library-settings-modal.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.ts b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.ts index 2333dee25..36b10e648 100644 --- a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.ts +++ b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.ts @@ -103,8 +103,8 @@ export class LibrarySettingsModalComponent implements OnInit { includeInDashboard: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), includeInRecommended: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), includeInSearch: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), - manageCollections: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), - manageReadingLists: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), + manageCollections: new FormControl(false, { nonNullable: true, validators: [Validators.required] }), + manageReadingLists: new FormControl(false, { nonNullable: true, validators: [Validators.required] }), allowScrobbling: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), allowMetadataMatching: new FormControl(true, { nonNullable: true, validators: [Validators.required] }), collapseSeriesRelationships: new FormControl(false, { nonNullable: true, validators: [Validators.required] }), @@ -232,6 +232,7 @@ export class LibrarySettingsModalComponent implements OnInit { this.libraryForm.get('allowMetadataMatching')?.disable(); } + this.cdRef.markForCheck(); }), takeUntilDestroyed(this.destroyRef)