From 48e0704ce18ef2da5e5cea8652fd8d43a4d3f6f9 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 31 Dec 2023 11:35:02 +0200 Subject: [PATCH] jsdoc --- client/src/views/modals/select-category-tree-records.js | 2 ++ client/src/views/modals/select-records.js | 1 + 2 files changed, 3 insertions(+) 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;