Commit fc1aa4bb authored by Anton's avatar Anton

Use platform helper from quasar, add archives store module

parent 3fefc736
......@@ -15,7 +15,7 @@
},
computed: {
show () {
return !process.env.IS_ELECTRON && !this.overrideShow && !localStorage.getItem('hideBrowserWarning') && !this.isChrome()
return !this.$q.platform.is.electron && !this.overrideShow && !localStorage.getItem('hideBrowserWarning') && !this.isChrome()
}
},
methods: {
......
......@@ -30,7 +30,7 @@
data: function () {
return {
openURL,
isElectron: process.env.IS_ELECTRON || false
isElectron: this.$q.platform.is.electron
}
}
}
......
......@@ -49,7 +49,7 @@
return userHasFeature(this.user, 'documents')
},
isElectron () {
return process.env.IS_ELECTRON || false
return this.$q.platform.is.electron
}
},
methods: {
......
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