diff --git a/UI/Web/src/app/_services/action.service.ts b/UI/Web/src/app/_services/action.service.ts index d02be7b81..2328bf72e 100644 --- a/UI/Web/src/app/_services/action.service.ts +++ b/UI/Web/src/app/_services/action.service.ts @@ -31,7 +31,9 @@ import {ChapterService} from "./chapter.service"; import {VolumeService} from "./volume.service"; import {DefaultModalOptions} from "../_models/default-modal-options"; import {MatchSeriesModalComponent} from "../_single-module/match-series-modal/match-series-modal.component"; -import {BulkSetReadingProfileComponent} from "../cards/_modals/bulk-set-reading-profile/bulk-set-reading-profile.component"; +import { + BulkSetReadingProfileModalComponent +} from "../cards/_modals/bulk-set-reading-profile-modal/bulk-set-reading-profile-modal.component"; export type LibraryActionCallback = (library: Partial) => void; @@ -822,7 +824,7 @@ export class ActionService { setReadingProfileForMultiple(series: Array, callback?: BooleanActionCallback) { if (this.readingListModalRef != null) { return; } - this.readingListModalRef = this.modalService.open(BulkSetReadingProfileComponent, { scrollable: true, size: 'md', fullscreen: 'md' }); + this.readingListModalRef = this.modalService.open(BulkSetReadingProfileModalComponent, { scrollable: true, size: 'md', fullscreen: 'md' }); this.readingListModalRef.componentInstance.seriesIds = series.map(s => s.id) this.readingListModalRef.componentInstance.title = "" @@ -848,7 +850,7 @@ export class ActionService { setReadingProfileForLibrary(library: Library, callback?: BooleanActionCallback) { if (this.readingListModalRef != null) { return; } - this.readingListModalRef = this.modalService.open(BulkSetReadingProfileComponent, { scrollable: true, size: 'md', fullscreen: 'md' }); + this.readingListModalRef = this.modalService.open(BulkSetReadingProfileModalComponent, { scrollable: true, size: 'md', fullscreen: 'md' }); this.readingListModalRef.componentInstance.libraryId = library.id; this.readingListModalRef.componentInstance.title = "" diff --git a/UI/Web/src/app/_services/reading-profile.service.ts b/UI/Web/src/app/_services/reading-profile.service.ts index 679ace528..bee2b0de0 100644 --- a/UI/Web/src/app/_services/reading-profile.service.ts +++ b/UI/Web/src/app/_services/reading-profile.service.ts @@ -35,7 +35,7 @@ export class ReadingProfileService { return this.httpClient.post(this.baseUrl + "reading-profile/series?seriesId="+seriesId, profile); } - all() { + getAllProfiles() { return this.httpClient.get(this.baseUrl + 'reading-profile/all'); } diff --git a/UI/Web/src/app/cards/_modals/bulk-set-reading-profile/bulk-set-reading-profile.component.html b/UI/Web/src/app/cards/_modals/bulk-set-reading-profile-modal/bulk-set-reading-profile-modal.component.html similarity index 81% rename from UI/Web/src/app/cards/_modals/bulk-set-reading-profile/bulk-set-reading-profile.component.html rename to UI/Web/src/app/cards/_modals/bulk-set-reading-profile-modal/bulk-set-reading-profile-modal.component.html index 4ca32f4ae..9284d1cd0 100644 --- a/UI/Web/src/app/cards/_modals/bulk-set-reading-profile/bulk-set-reading-profile.component.html +++ b/UI/Web/src/app/cards/_modals/bulk-set-reading-profile-modal/bulk-set-reading-profile-modal.component.html @@ -1,10 +1,10 @@ - + -
+