- Last Scanned:
+ Last Scanned:
Never
{{library.lastScanned | date: 'short'}}
@@ -79,7 +79,7 @@
Custom library image icons are optional
Library image should not be large. Aim for a small file, 32x32 pixels in size. Kavita does not perform validation on size.
-
@@ -169,7 +169,7 @@
-
+
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 0773539a3..af9099ce2 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
@@ -52,7 +52,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
selectedFolders: string[] = [];
madeChanges = false;
libraryTypes: string[] = []
-
+
isAddLibrary = false;
setupStep = StepID.General;
private readonly onDestroy = new Subject();
@@ -62,7 +62,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
get StepID() { return StepID; }
constructor(public utilityService: UtilityService, private uploadService: UploadService, private modalService: NgbModal,
- private settingService: SettingsService, public modal: NgbActiveModal, private confirmService: ConfirmService,
+ private settingService: SettingsService, public modal: NgbActiveModal, private confirmService: ConfirmService,
private libraryService: LibraryService, private toastr: ToastrService, private readonly cdRef: ChangeDetectorRef,
private imageService: ImageService) { }
@@ -85,7 +85,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
}
this.libraryForm.get('name')?.valueChanges.pipe(
- debounceTime(100),
+ debounceTime(100),
distinctUntilChanged(),
switchMap(name => this.libraryService.libraryNameExists(name)),
tap(exists => {
@@ -93,7 +93,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
if (!exists || isExistingName) {
this.libraryForm.get('name')?.setErrors(null);
} else {
- this.libraryForm.get('name')?.setErrors({duplicateName: true})
+ this.libraryForm.get('name')?.setErrors({duplicateName: true})
}
this.cdRef.markForCheck();
}),
@@ -108,7 +108,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
this.onDestroy.next();
this.onDestroy.complete();
}
-
+
setValues() {
if (this.library !== undefined) {
@@ -118,7 +118,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
this.libraryForm.get('includeInDashboard')?.setValue(this.library.includeInDashboard);
this.libraryForm.get('includeInRecommended')?.setValue(this.library.includeInRecommended);
this.libraryForm.get('includeInSearch')?.setValue(this.library.includeInSearch);
- this.libraryForm.get('createCollections')?.setValue(this.library.createCollections);
+ this.libraryForm.get('manageCollections')?.setValue(this.library.manageCollections);
this.selectedFolders = this.library.folders;
this.madeChanges = false;
this.cdRef.markForCheck();
@@ -155,7 +155,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
model.type = parseInt(model.type, 10);
if (model.type !== this.library.type) {
- if (!await this.confirmService.confirm(`Changing library type will trigger a new scan with different parsing rules and may lead to
+ if (!await this.confirmService.confirm(`Changing library type will trigger a new scan with different parsing rules and may lead to
series being re-created and hence you may loose progress and bookmarks. You should backup before you do this. Are you sure you want to continue?`)) return;
}
@@ -217,7 +217,7 @@ export class LibrarySettingsModalComponent implements OnInit, OnDestroy {
isNextDisabled() {
switch (this.setupStep) {
- case StepID.General:
+ case StepID.General:
return this.libraryForm.get('name')?.invalid || this.libraryForm.get('type')?.invalid;
case StepID.Folder:
return this.selectedFolders.length === 0;
diff --git a/openapi.json b/openapi.json
index 572f52d8d..06aec3b21 100644
--- a/openapi.json
+++ b/openapi.json
@@ -7,7 +7,7 @@
"name": "GPL-3.0",
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
},
- "version": "0.6.1.41"
+ "version": "0.7.0.2"
},
"servers": [
{
@@ -14070,13 +14070,13 @@
},
"UpdateLibraryDto": {
"required": [
- "createCollections",
"folders",
"folderWatching",
"id",
"includeInDashboard",
"includeInRecommended",
"includeInSearch",
+ "manageCollections",
"name",
"type"
],
@@ -14111,7 +14111,7 @@
"includeInSearch": {
"type": "boolean"
},
- "createCollections": {
+ "manageCollections": {
"type": "boolean"
}
},