diff --git a/client/src/views/modals/select-category-tree-records.js b/client/src/views/modals/select-category-tree-records.js index 37ce16c5b7..1b0f290b5c 100644 --- a/client/src/views/modals/select-category-tree-records.js +++ b/client/src/views/modals/select-category-tree-records.js @@ -31,7 +31,9 @@ import SelectRecordsModalView from 'views/modals/select-records'; class SelectCategoryTreeRecordsModalView extends SelectRecordsModalView { setup() { + /** @type {Object.} */ this.filters = this.options.filters || {}; + /** @type {Object.} */ this.boolFilterList = this.options.boolFilterList || {}; this.primaryFilterName = this.options.primaryFilterName || null; diff --git a/client/src/views/modals/select-records.js b/client/src/views/modals/select-records.js index 1f93ce129f..7b91f3b3ec 100644 --- a/client/src/views/modals/select-records.js +++ b/client/src/views/modals/select-records.js @@ -90,6 +90,7 @@ class SelectRecordsModalView extends ModalView { } setup() { + /** @type {Object.} */ this.filters = this.options.filters || {}; this.boolFilterList = this.options.boolFilterList; this.primaryFilterName = this.options.primaryFilterName || null;