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