diff --git a/client/components/Chat.vue b/client/components/Chat.vue index 3eda5c62..118e6982 100644 --- a/client/components/Chat.vue +++ b/client/components/Chat.vue @@ -4,9 +4,9 @@ id="chat" :data-id="channel.id" :class="{ - 'hide-motd': !this.$root.settings.motd, - 'colored-nicks': this.$root.settings.coloredNicks, - 'show-seconds': this.$root.settings.showSeconds, + 'hide-motd': !$store.state.settings.motd, + 'colored-nicks': $store.state.settings.coloredNicks, + 'show-seconds': $store.state.settings.showSeconds, }" >
!constants.condensedTypes.includes(message.type) ); } // If actions are not condensed, just return raw message list - if (this.$root.settings.statusMessages !== "condensed") { + if (this.$store.state.settings.statusMessages !== "condensed") { return this.channel.messages; } diff --git a/client/components/Windows/Settings.vue b/client/components/Windows/Settings.vue index d54ade6c..129b8258 100644 --- a/client/components/Windows/Settings.vue +++ b/client/components/Windows/Settings.vue @@ -10,7 +10,7 @@