diff --git a/UI/Web/src/app/library-detail/library-detail.component.ts b/UI/Web/src/app/library-detail/library-detail.component.ts
index 635b2a3cd..e5bd3e604 100644
--- a/UI/Web/src/app/library-detail/library-detail.component.ts
+++ b/UI/Web/src/app/library-detail/library-detail.component.ts
@@ -231,7 +231,23 @@ export class LibraryDetailComponent implements OnInit {
async handleAction(action: ActionItem
, library: Library) {
let lib: Partial = library;
if (library === undefined) {
- lib = {id: this.libraryId, name: this.libraryName};
+ //lib = {id: this.libraryId, name: this.libraryName}; // BUG: We need the whole library for editLibrary
+ this.libraryService.getLibrary(this.libraryId).subscribe(async library => {
+ switch (action.action) {
+ case(Action.Scan):
+ await this.actionService.scanLibrary(library);
+ break;
+ case(Action.RefreshMetadata):
+ await this.actionService.refreshMetadata(library);
+ break;
+ case(Action.Edit):
+ this.actionService.editLibrary(library);
+ break;
+ default:
+ break;
+ }
+ });
+ return
}
switch (action.action) {
case(Action.Scan):
diff --git a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html
index 22884717e..b3771bbb6 100644
--- a/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html
+++ b/UI/Web/src/app/sidenav/_modals/library-settings-modal/library-settings-modal.component.html
@@ -33,11 +33,11 @@
-
+
@if(IsKavitaPlusEligible) {
{{t('kavitaplus-eligible-label')}}
-
+
}
{{t('type-tooltip')}}
diff --git a/UI/Web/src/app/statistics/_components/reading-activity/reading-activity.component.html b/UI/Web/src/app/statistics/_components/reading-activity/reading-activity.component.html
index a2ef443a8..53c16644b 100644
--- a/UI/Web/src/app/statistics/_components/reading-activity/reading-activity.component.html
+++ b/UI/Web/src/app/statistics/_components/reading-activity/reading-activity.component.html
@@ -11,7 +11,7 @@
diff --git a/UI/Web/src/app/statistics/_components/server-stats/server-stats.component.html b/UI/Web/src/app/statistics/_components/server-stats/server-stats.component.html
index cd90281d5..5d82541a2 100644
--- a/UI/Web/src/app/statistics/_components/server-stats/server-stats.component.html
+++ b/UI/Web/src/app/statistics/_components/server-stats/server-stats.component.html
@@ -4,7 +4,7 @@
- {{stats.seriesCount | compactNumber}} Series
+ {{t('series-count', {num: stats.seriesCount | number})}}
@@ -13,7 +13,7 @@
- {{stats.volumeCount | compactNumber}} Volumes
+ {{t('volume-count', {num: stats.volumeCount | number})}}
@@ -22,7 +22,7 @@
- {{stats.totalFiles | compactNumber}} Files
+ {{t('file-count', {num: stats.totalFiles | number})}}
@@ -39,7 +39,7 @@
-
+
{{t('genre-count', {num: stats.totalGenres | compactNumber})}}
@@ -88,7 +88,7 @@