feat: use map instead of interface
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<h3>{{ currentChapterInfo?.number }}. {{ currentChapterInfo?.name || "Нет названия" }}</h3>
|
||||
</div>
|
||||
<div class="flex flex-col items-center">
|
||||
@if (pages.length > 0 && cachedPages[currentPageIndex]) {
|
||||
@if (pages.length > 0 && cachedPages.get(currentPageIndex)) {
|
||||
<div [class]="imageContainerClass">
|
||||
@if (!isManhwa$.value) {
|
||||
<app-scale-image [imageSrc]="imageUrl"></app-scale-image>
|
||||
|
||||
Reference in New Issue
Block a user