No sponsorship in light mode
This commit is contained in:
parent
d133fc5c28
commit
9c4d821812
@ -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'];
|
||||
|
@ -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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user