-
- {{t('no-items')}}
-
+ @if (!filterActive && series.length === 0) {
+
+
+ {{t('no-items')}}
+
-
-
-
- {{t('no-items-filtered')}}
-
+ } @else if (filterActive && series.length === 0) {
+
+
+ {{t('no-items-filtered')}}
+
+ }
+ }
+
diff --git a/UI/Web/src/app/want-to-read/_components/want-to-read/want-to-read.component.ts b/UI/Web/src/app/want-to-read/_components/want-to-read/want-to-read.component.ts
index 45a2859b9..f917f7dc7 100644
--- a/UI/Web/src/app/want-to-read/_components/want-to-read/want-to-read.component.ts
+++ b/UI/Web/src/app/want-to-read/_components/want-to-read/want-to-read.component.ts
@@ -46,7 +46,7 @@ import {SeriesFilterV2} from "../../../_models/metadata/v2/series-filter-v2";
styleUrls: ['./want-to-read.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
- imports: [SideNavCompanionBarComponent, NgStyle, BulkOperationsComponent, CardDetailLayoutComponent, SeriesCardComponent, NgIf, DecimalPipe, TranslocoDirective]
+ imports: [SideNavCompanionBarComponent, NgStyle, BulkOperationsComponent, CardDetailLayoutComponent, SeriesCardComponent, DecimalPipe, TranslocoDirective]
})
export class WantToReadComponent implements OnInit, AfterContentChecked {
@@ -145,20 +145,6 @@ export class WantToReadComponent implements OnInit, AfterContentChecked {
this.scrollService.setScrollContainer(this.scrollingBlock);
}
- @HostListener('document:keydown.shift', ['$event'])
- handleKeypress(event: KeyboardEvent) {
- if (event.key === KEY_CODES.SHIFT) {
- this.bulkSelectionService.isShiftDown = true;
- }
- }
-
- @HostListener('document:keyup.shift', ['$event'])
- handleKeyUp(event: KeyboardEvent) {
- if (event.key === KEY_CODES.SHIFT) {
- this.bulkSelectionService.isShiftDown = false;
- }
- }
-
removeSeries(seriesId: number) {
this.series = this.series.filter(s => s.id != seriesId);
this.pagination.totalItems--;