Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Add missing interface to resolve test warning

shamoonfc683e150a30
diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.ts b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.ts
index 923907158..011ae1bc1 100644
--- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.ts
+++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.ts
@@ -2,6 +2,7 @@ import {
Component,
EventEmitter,
Input,
+ OnDestroy,
Output,
ViewChild,
} from '@angular/core'
@@ -148,7 +149,7 @@ export class CustomFieldQueriesModel {
templateUrl: './custom-fields-query-dropdown.component.html',
styleUrls: ['./custom-fields-query-dropdown.component.scss'],
})
-export class CustomFieldsQueryDropdownComponent {
+export class CustomFieldsQueryDropdownComponent implements OnDestroy {
public CustomFieldQueryComponentType = CustomFieldQueryElementType
public CustomFieldQueryOperator = CustomFieldQueryOperator
public CustomFieldDataType = CustomFieldDataType