diff --git a/API/Controllers/LibraryController.cs b/API/Controllers/LibraryController.cs index 316431c6d6..acb275fa3d 100644 --- a/API/Controllers/LibraryController.cs +++ b/API/Controllers/LibraryController.cs @@ -334,7 +334,7 @@ public async Task UpdateLibrary(UpdateLibraryDto dto) library.IncludeInDashboard = dto.IncludeInDashboard; library.IncludeInRecommended = dto.IncludeInRecommended; library.IncludeInSearch = dto.IncludeInSearch; - library.ManageCollections = dto.CreateCollections; + library.ManageCollections = dto.ManageCollections; _unitOfWork.LibraryRepository.Update(library); diff --git a/API/DTOs/UpdateLibraryDto.cs b/API/DTOs/UpdateLibraryDto.cs index 6a9b7c72dd..977616497c 100644 --- a/API/DTOs/UpdateLibraryDto.cs +++ b/API/DTOs/UpdateLibraryDto.cs @@ -23,6 +23,6 @@ public class UpdateLibraryDto [Required] public bool IncludeInSearch { get; init; } [Required] - public bool CreateCollections { get; init; } + public bool ManageCollections { get; init; } } diff --git a/UI/Web/src/app/_models/library.ts b/UI/Web/src/app/_models/library.ts index 059e505c7e..665911be3a 100644 --- a/UI/Web/src/app/_models/library.ts +++ b/UI/Web/src/app/_models/library.ts @@ -15,5 +15,5 @@ export interface Library { includeInDashboard: boolean; includeInRecommended: boolean; includeInSearch: boolean; - createCollections: boolean; + manageCollections: boolean; } \ No newline at end of file diff --git a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html index 029164789c..79adc4623e 100644 --- a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html +++ b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html @@ -96,7 +96,7 @@