Commit ee9d98d5 authored by christianrhansen's avatar christianrhansen

renamed computed property

parent 9c54c271
...@@ -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)
......
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