refactor(frontend): resolve linting errors, and EPUB reader lifecycle errors (#2127)
* refactor(types): improve type safety by replacing 'any' with specific types in various components Signed-off-by: Balázs Szücs <bszucs1209@gmail.com> * fix(filters): handle undefined values in filter streams and update type for selected filters Signed-off-by: Balázs Szücs <bszucs1209@gmail.com> * refactor(epub-reader): improve rendition cleanup and enhance debug logging in helper functions Signed-off-by: Balázs Szücs <bszucs1209@gmail.com> * fix(epub-reader): handle errors during rendition and book destruction in ngOnDestroy Signed-off-by: Balázs Szücs <bszucs1209@gmail.com> --------- Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@
|
||||
class="input-full"
|
||||
placeholder="e.g., Gmail SMTP, SendGrid"
|
||||
[class.filled]="emailProviderForm.get('name')?.value"
|
||||
autofocus
|
||||
|
||||
/>
|
||||
@if (emailProviderForm.get('name')?.value && emailProviderForm.get('name')?.valid) {
|
||||
<i class="pi pi-check-circle input-icon success"></i>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
class="input-full"
|
||||
placeholder="Enter recipient name..."
|
||||
[class.filled]="emailRecipientForm.get('name')?.value"
|
||||
autofocus
|
||||
|
||||
/>
|
||||
@if (emailRecipientForm.get('name')?.value && emailRecipientForm.get('name')?.valid) {
|
||||
<i class="pi pi-check-circle input-icon success"></i>
|
||||
|
||||
Reference in New Issue
Block a user