Skip to content

Commit

Permalink
fix delete issue
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Jan 9, 2024
1 parent 1511f04 commit b17ea40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/chart.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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()
Expand Down

0 comments on commit b17ea40

Please sign in to comment.