diff --git a/package.json b/package.json index 4f70f4fc1..85f1d3873 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "pako": "^2.1.0", "parse-link-header": "2.0.0", "phoenix": "1.7.18", + "pinia": "^2.0.33", "punycode.js": "2.3.1", "qrcode": "1.5.4", "querystring-es3": "0.2.1", diff --git a/src/App.js b/src/App.js index 87bf8319f..ca218cfff 100644 --- a/src/App.js +++ b/src/App.js @@ -62,7 +62,7 @@ export default { document.getElementById('modal').classList = ['-' + this.layoutType] }, mounted () { - if (this.$store.state.interface.themeApplied) { + if (useInterfaceStore().themeApplied) { this.removeSplash() } }, @@ -71,7 +71,7 @@ export default { }, computed: { themeApplied () { - return this.$store.state.interface.themeApplied + return useInterfaceStore().themeApplied }, layoutModalClass () { return '-' + this.layoutType diff --git a/src/App.vue b/src/App.vue index 762e18515..34cc6b804 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@