Renamed vuex settings to globalSettings
This commit is contained in:
parent
56e43ae77f
commit
e1d562fef4
5 changed files with 13 additions and 13 deletions
|
|
@ -27,7 +27,7 @@ Vue.mixin({
|
|||
.finally(function() {
|
||||
// Reenable the GPU preview, if it was active before the modal
|
||||
console.log("Re-enabling GPU preview")
|
||||
if (context.$store.state.settings.autoGpuPreview) {
|
||||
if (context.$store.state.globalSettings.autoGpuPreview) {
|
||||
console.log("Re-enabling preview")
|
||||
context.$root.$emit('globalTogglePreview', true)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue