diff options
Diffstat (limited to 'plugins/CoreHome/vue/dist/CoreHome.umd.js')
-rw-r--r-- | plugins/CoreHome/vue/dist/CoreHome.umd.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CoreHome/vue/dist/CoreHome.umd.js b/plugins/CoreHome/vue/dist/CoreHome.umd.js index e5b57322ca..6019b20262 100644 --- a/plugins/CoreHome/vue/dist/CoreHome.umd.js +++ b/plugins/CoreHome/vue/dist/CoreHome.umd.js @@ -8993,7 +8993,6 @@ var ReportingMenu_store_ReportingMenuStore = /*#__PURE__*/function () { ReportingMenu_store_classCallCheck(this, ReportingMenuStore); ReportingMenu_store_defineProperty(this, "privateState", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({ - activeCategoryId: null, activeSubcategoryId: null, activeSubsubcategoryId: null })); @@ -9003,7 +9002,7 @@ var ReportingMenu_store_ReportingMenuStore = /*#__PURE__*/function () { })); ReportingMenu_store_defineProperty(this, "activeCategory", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { - return _this.state.value.activeCategoryId || src_MatomoUrl_MatomoUrl.parsed.value.category; + return typeof _this.state.value.activeCategoryId !== 'undefined' ? _this.state.value.activeCategoryId : src_MatomoUrl_MatomoUrl.parsed.value.category; })); ReportingMenu_store_defineProperty(this, "activeSubcategory", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () { @@ -9153,7 +9152,7 @@ var ReportingMenu_store_ReportingMenuStore = /*#__PURE__*/function () { this.privateState.activeSubcategoryId = null; this.privateState.activeSubsubcategoryId = null; - if (this.privateState.activeCategoryId === category.id) { + if (this.activeCategory.value === category.id) { this.privateState.activeCategoryId = null; return false; } |