massive rename and separation merged config into its own "store"

This commit is contained in:
Henry Jameson 2026-03-24 21:42:22 +02:00
commit 4e235562aa
65 changed files with 272 additions and 221 deletions

View file

@ -1,4 +1,4 @@
import { useSyncConfigStore } from 'src/stores/sync_config.js'
import { useMergedConfigStore } from 'src/stores/merged_config.js'
const VideoAttachment = {
props: ['attachment', 'controls'],
@ -11,10 +11,10 @@ const VideoAttachment = {
},
computed: {
loopVideo() {
if (useSyncConfigStore().mergedConfig.loopVideoSilentOnly) {
if (useMergedConfigStore().mergedConfig.loopVideoSilentOnly) {
return !this.hasAudio
}
return useSyncConfigStore().mergedConfig.loopVideo
return useMergedConfigStore().mergedConfig.loopVideo
},
},
methods: {