PR comments
This commit is contained in:
parent
bd0d1b403e
commit
a0f99dce4c
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue