[web] Remove useless getters of the store

This commit is contained in:
Alain Nussbaumer
2024-02-21 12:29:16 +01:00
parent bb43de465f
commit 3cadee1d48
4 changed files with 3 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ export default {
}
},
lyrics() {
const raw = this.$store.getters.lyrics
const raw = this.$store.state.lyrics.content
const parsed = []
if (raw) {
// Parse the lyrics

View File

@@ -22,7 +22,7 @@ export default {
computed: {
is_active() {
return this.$store.getters.lyrics_pane
return this.$store.state.lyrics.pane
},
icon_name() {
return this.is_active ? 'script-text-play' : 'script-text-outline'