Skip to content

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

Fix: import date picker module in cf query dropdown (#8749)

shamoon1cfba8711497
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 d6ae95604..0fa7fe536 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
@@ -9,7 +9,11 @@ import {
ViewChildren,
} from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
-import { NgbDropdown, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'
+import {
+ NgbDatepickerModule,
+ NgbDropdown,
+ NgbDropdownModule,
+} from '@ng-bootstrap/ng-bootstrap'
import { NgSelectComponent, NgSelectModule } from '@ng-select/ng-select'
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { first, Subject, takeUntil } from 'rxjs'
@@ -164,6 +168,7 @@ export class CustomFieldQueriesModel {
ClearableBadgeComponent,
FormsModule,
ReactiveFormsModule,
+ NgbDatepickerModule,
NgTemplateOutlet,
NgSelectModule,
NgxBootstrapIconsModule,