From b17ea401ef1d2553b713fde67f9c89025a0928d9 Mon Sep 17 00:00:00 2001 From: solderq35 Date: Tue, 9 Jan 2024 12:31:17 -0800 Subject: [PATCH] fix delete issue --- src/store/chart.module.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/chart.module.js b/src/store/chart.module.js index 0b8b5c19..26e0bb3e 100644 --- a/src/store/chart.module.js +++ b/src/store/chart.module.js @@ -209,6 +209,7 @@ const mutations = { // Function to convert plain text date format from Edit Form to Unix Timestamps // See similar dateStart / dateEnd mutation functions in block.module.js multStart (state, multStart) { + state.multStart = [] for (let i in multStart) { if (typeof multStart[i] === 'string') { console.log('helloooo') @@ -224,6 +225,7 @@ const mutations = { }, multEnd (state, multEnd) { + state.multEnd = [] for (let i in multEnd) { if (typeof multEnd[i] === 'string') { state.multEnd[i] = new Date(multEnd[i]).getTime()