mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[web] Remove useless getters of the store
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user