diff --git a/src/components/ExplorerNode.vue b/src/components/ExplorerNode.vue index 8ddaa19e..2a1c18dd 100644 --- a/src/components/ExplorerNode.vue +++ b/src/components/ExplorerNode.vue @@ -136,7 +136,7 @@ export default { this.$store.commit('explorer/setDragSourceId', this.node.item.id); // Fix for Firefox // See https://stackoverflow.com/a/3977637/1333165 - evt.dataTransfer.setData('Text', this.node.item.id); + evt.dataTransfer.setData('Text', ''); }, onDrop() { const sourceNode = this.$store.getters['explorer/dragSourceNode']; diff --git a/src/store/index.js b/src/store/index.js index 23cffdbd..c9d05079 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,4 +1,4 @@ -// import createLogger from 'vuex/dist/logger'; +import createLogger from 'vuex/dist/logger'; import Vue from 'vue'; import Vuex from 'vuex'; import utils from '../services/utils'; @@ -61,7 +61,7 @@ const store = new Vuex.Store({ }, isSponsor: (state, getters) => { const sponsorToken = getters['workspace/sponsorToken']; - return state.monetizeSponsor || (sponsorToken && sponsorToken.isSponsor); + return state.light || state.monetizeSponsor || (sponsorToken && sponsorToken.isSponsor); }, }, mutations: { @@ -124,7 +124,7 @@ const store = new Vuex.Store({ }, }, strict: debug, - // plugins: debug ? [createLogger()] : [], + plugins: debug ? [createLogger()] : [], }); setInterval(() => {