Commit 2c419bba authored by christianrhansen's avatar christianrhansen

defining two different grid-editor-sources for mobile and desktop

parent 40506cda
Pipeline #16343 passed with stage
in 2 minutes and 25 seconds
......@@ -5,8 +5,15 @@
div.grid-editor-shadow-right(v-if="tabsAreOpen")
// ------------------------------------------------------------------------------------------------------------ grid
grid-editor.grid-editor(ref="gridEditor", :gridUuid="$route.params.uuid", :tabsAreOpen="tabsAreOpen")
// -------------------------------------------------------------------------------------------------------- new cell
grid-editor-sources.grid-editor-sources(v-if="$store.state.mosys.showSources")
.desktop-only
grid-editor-sources.bg-white.grid-editor-sources(v-if="$store.state.mosys.showSources")
.mobile-only.absolute-top-left.fit(v-if="$store.state.mosys.showSources")
.q-pa-lg.fit(style="overflow: scroll;")
grid-editor-sources.bg-frosted-glass.bg-white
// ----------------------------------------------------------------------------------------------------- cell editor
// template(v-if="!isMobile")
.desktop-only
......@@ -39,6 +46,7 @@
},
mounted () {
this.$root.$on('mosys_saveScrollPosition', this.handleSaveGridScrollPosition)
console.log('mobile??? ', this.isMobile)
},
beforeDestroy () {
this.$root.$off('mosys_saveScrollPosition', this.handleSaveGridScrollPosition)
......
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