storedQueries module is covered by tests

This commit is contained in:
lana-k
2021-01-27 21:00:22 +01:00
parent f640727d96
commit d45212733d
5 changed files with 118 additions and 13 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export default {
this.state = { data, layout, frames }
this.$emit('update')
},
getChartSatateForSave () {
getChartStateForSave () {
// we don't need to save the data, only settings
// so we modify state.data using dereference
const stateCopy = JSON.parse(JSON.stringify(this.state))