Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

fix(frontend:files): add missing constructor inheritance in files-viewer-text.component.ts

johaven965d0cec0f04
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
index 5282f565..8a5b3415 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
@@ -68,6 +68,10 @@ export class FilesViewerTextComponent extends FilesViewerEditableBase implements
protected readonly isSearchPanelOpen = this.searchAdapter.isOpen
private isContentReady = false
+ constructor() {
+ super()
+ }
+
@HostListener('document:keydown', ['$event'])
onKeyDown(event: KeyboardEvent) {
// ESC