I removed this and stuff still works, therefore it must not have been important
This commit is contained in:
parent
145b237701
commit
357b7a0365
@ -123,11 +123,7 @@ class UwUi {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
this.vuexStore = createStore({
|
||||||
// Vue.prototype.$browser = global.browser;
|
|
||||||
// Vue.use(Vuex);
|
|
||||||
|
|
||||||
this.vuexStore = createStore({
|
|
||||||
plugins: [
|
plugins: [
|
||||||
VuexWebExtensions({
|
VuexWebExtensions({
|
||||||
persistentStates: [
|
persistentStates: [
|
||||||
@ -171,9 +167,6 @@ class UwUi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e) {
|
|
||||||
console.error("Ultrawidify failed to initialize vue. Error:", e);
|
|
||||||
}
|
|
||||||
|
|
||||||
// make sure we don't init twice
|
// make sure we don't init twice
|
||||||
this.vueInitiated = true;
|
this.vueInitiated = true;
|
||||||
@ -194,7 +187,6 @@ class UwUi {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
createApp(LoggerUi)
|
createApp(LoggerUi)
|
||||||
.component('LoggerUi', LoggerUi)
|
|
||||||
.use(this.vuexStore)
|
.use(this.vuexStore)
|
||||||
.mount(`#${uwid}`);
|
.mount(`#${uwid}`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user