feat: abstract classes and destroy subscriptions
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
<div class="flex flex-row items-center justify-between me-4">
|
||||
<button class="bg-slate-600 text-white rounded-lg p-3 m-4" (click)="backToTitle()">
|
||||
<div
|
||||
class="flex flex-row items-center justify-between me-4 max-w-[900px] relative -translate-x-[50%] left-[50%]"
|
||||
>
|
||||
<a
|
||||
[routerLink]="['/', 'detail']"
|
||||
[queryParams]="{ url: url }"
|
||||
class="bg-slate-600 text-white rounded-lg p-3 m-4"
|
||||
>
|
||||
Назад к тайтлу
|
||||
</button>
|
||||
<h3>{{ currentChapterInfo?.number }}. {{ currentChapterInfo?.name }}</h3>
|
||||
</a>
|
||||
<h3>{{ currentChapterInfo?.number }}. {{ currentChapterInfo?.name || "Нет названия" }}</h3>
|
||||
</div>
|
||||
<div class="flex flex-col items-center">
|
||||
@if (pages.length > 0 && cachedPages[currentPageIndex]) {
|
||||
|
||||
Reference in New Issue
Block a user