Commit cb42d65a authored by christianrhansen's avatar christianrhansen

clear temp cell position when aborting adding a new cell

parent 80a6b31f
Pipeline #16808 passed with stage
in 8 minutes and 3 seconds
......@@ -29,7 +29,7 @@
q-btn.bg-transparent.text-white.on-right(@click.native="clearTempCell()", round, flat,
:disabled="!mobileTempCell.onGrid")
q-icon(name="undo")
q-btn.bg-transparent.text-white.on-right(@click.native="$store.commit('mosys/cacheNewCell', undefined)", round, flat)
q-btn.bg-transparent.text-white.on-right(@click.native="clearCachedCell()", round, flat)
q-icon(name="delete")
// ------------------------------------------------------------------------------------------------------------ grid
......@@ -450,6 +450,10 @@
}
},
methods: {
clearCachedCell () {
this.$store.commit('mosys/cacheNewCell', undefined)
this.clearTempCell()
},
handleCellInfoTouch (event, annotation) {
this.touchMobileCell(event, annotation)
this.handleModal()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment