PR comments

This commit is contained in:
Joseph Milazzo 2025-07-05 15:40:00 -05:00
parent bd0d1b403e
commit a0f99dce4c
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ public sealed record UpdateLibraryDto
[Required]
public bool EnableMetadata { get; init; }
[Required]
public bool RemovePrefixForSortName { get; set; }
public bool RemovePrefixForSortName { get; init; }
/// <summary>
/// What types of files to allow the scanner to pickup
/// </summary>

View file

@ -275,7 +275,7 @@ export class LibrarySettingsModalComponent implements OnInit {
this.libraryForm.get('allowMetadataMatching')?.setValue(this.IsMetadataDownloadEligible ? this.library.allowMetadataMatching : false);
this.libraryForm.get('excludePatterns')?.setValue(this.excludePatterns ? this.library.excludePatterns : false);
this.libraryForm.get('enableMetadata')?.setValue(this.library.enableMetadata);
this.libraryForm.get('removePrefixForSortName')?.setValue(this.library.enableMetadata);
this.libraryForm.get('removePrefixForSortName')?.setValue(this.library.removePrefixForSortName);
this.selectedFolders = this.library.folders;
this.madeChanges = false;