...
 
Commits (2)
......@@ -15,7 +15,7 @@
#new-cell-header.fixed-top.z-top.bg-dark.text-white.transition(:class="{'show': cachedNewCell}")
q-item.q-pl-md.q-pr-xs.q-py-none.full-height
q-item-main
strong New {{ newCellType }}
strong New {{ cachedNewCellType }}
q-item-side.text-white
q-btn(@click="event => {addMobileCell(event)}", round, flat)
......@@ -285,7 +285,7 @@
scrollPositionCache: 'mosys/getScrollPositionCache',
editMode: 'mosys/getEditMode'
}),
newCellType () {
cachedNewCellType () {
if (this.cachedNewCell) {
let type = this.cachedNewCell.component
return type.substr(4, type.length - 4)
......@@ -564,9 +564,9 @@
this.$store.commit('mosys/cacheNewCell', undefined)
this.$q.notify({
message: 'Cell was added.',
color: 'dark',
position: 'center',
timeout: 50
color: 'primary',
position: 'bottom-left',
timeout: 800
})
}
},
......