feat: manhwa check
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div class="flex flex-col items-center">
|
||||
@if (pages.length > 0 && cachedPages.get(currentPageIndex)) {
|
||||
<div [class]="imageContainerClass">
|
||||
@if (!isManhwa$.value) {
|
||||
@if (!isManhwa) {
|
||||
<app-scale-image [imageSrc]="imageUrl"></app-scale-image>
|
||||
} @else {
|
||||
@for (page of manhwaPages; track page.id) {
|
||||
@@ -21,12 +21,12 @@
|
||||
}
|
||||
}
|
||||
</div>
|
||||
<div appLazyLoad></div>
|
||||
<div #anchor></div>
|
||||
<div class="flex items-center justify-center space-x-4 my-10">
|
||||
<button (click)="prevPage()" class="p-3 text-white bg-slate-600 w-[100px] rounded-lg">
|
||||
←
|
||||
</button>
|
||||
<p *ngIf="!isManhwa$.value">{{ pages[currentPageIndex].slug }} / {{ pages.length }}</p>
|
||||
<p *ngIf="!isManhwa">{{ pages[currentPageIndex].slug }} / {{ pages.length }}</p>
|
||||
<button (click)="nextPage()" class="p-3 text-white bg-slate-600 w-[100px] rounded-lg">
|
||||
→
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user