From 45a9a32d10be6bbdb95deed73a5e2b5c138556b3 Mon Sep 17 00:00:00 2001 From: Erik Verheul Date: Wed, 25 Sep 2024 16:01:57 +0200 Subject: [PATCH] Patch errors --- src/components/views/common_view.js | 8 +------- src/store/modules/startup.js | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/views/common_view.js b/src/components/views/common_view.js index f819abd3..8a4bdade 100644 --- a/src/components/views/common_view.js +++ b/src/components/views/common_view.js @@ -209,18 +209,12 @@ const methods = { store.dispatch('resetSearchInTitles', { caller: 'resetSearchTitles', toDispatch: [] }) }, - debugText(node) { - const t1 = node.isExpanded ? 'Y' : 'N' - const t2 = node.doShow ? 'Y' : 'N' - return '-' + t1 + t2 - }, - patchTitle(node) { if (store.state.userData.myOptions.proUser === 'false') return node.title let patch = '' if (node.dependencies && node.dependencies.length > 0) patch = '▲ ' if (node.conditionalFor && node.conditionalFor.length > 0) patch = patch + '▼ ' - return patch + node.title + this.debugText(node) + return patch + node.title }, rowLength(violation) { diff --git a/src/store/modules/startup.js b/src/store/modules/startup.js index 8c565f2d..52a3c7fd 100644 --- a/src/store/modules/startup.js +++ b/src/store/modules/startup.js @@ -112,7 +112,7 @@ const actions = { rootState.isCoarseHistLoaded = false rootState.lastSessionData = { detailView: { lastSelectedProductId: null, expandedNodes: [], doShowNodes: [] }, - overView: { lastSelectedProductId: null, expandedNodes: [], doShowNodes: [] }, + coarseView: { lastSelectedProductId: null, expandedNodes: [], doShowNodes: [] }, } } // start the watchdog