diff --git a/src/app/_services/library.service.ts b/src/app/_services/library.service.ts index c81bb2abc..21c267efc 100644 --- a/src/app/_services/library.service.ts +++ b/src/app/_services/library.service.ts @@ -45,4 +45,8 @@ export class LibraryService { return this.httpClient.delete(this.baseUrl + 'library/delete?libraryId=' + libraryId, {}); } + update(model: {name: string, folders: string[], id: number}) { + return this.httpClient.post(this.baseUrl + 'library/update', model); + } + } diff --git a/src/app/admin/_modals/directory-picker/directory-picker.component.html b/src/app/admin/_modals/directory-picker/directory-picker.component.html index 4a7e8a279..b9923565a 100644 --- a/src/app/admin/_modals/directory-picker/directory-picker.component.html +++ b/src/app/admin/_modals/directory-picker/directory-picker.component.html @@ -15,7 +15,7 @@ +
There are no folders here diff --git a/src/app/admin/_modals/library-editor-modal/library-editor-modal.component.html b/src/app/admin/_modals/library-editor-modal/library-editor-modal.component.html index 3024c7cb5..bc28e2c7d 100644 --- a/src/app/admin/_modals/library-editor-modal/library-editor-modal.component.html +++ b/src/app/admin/_modals/library-editor-modal/library-editor-modal.component.html @@ -1,7 +1,7 @@ -
+ -
+