From 54c8805cd4952d997cb48423de8f029bd9398d42 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 10 Oct 2021 16:20:11 +0100 Subject: [PATCH] :green_heart: Fix ordering issue raised by CI --- src/components/Settings/SettingsContainer.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Settings/SettingsContainer.vue b/src/components/Settings/SettingsContainer.vue index 82ff9832..14abfdbe 100644 --- a/src/components/Settings/SettingsContainer.vue +++ b/src/components/Settings/SettingsContainer.vue @@ -88,12 +88,12 @@ export default { visibleComponents() { return this.$store.getters.visibleComponents; }, - }, - data() { - return { - settingsVisible: this.getSettingsVisibility(), - searchVisible: (this.visibleComponents || defaultVisibleComponents).searchBar, - }; + searchVisible() { + return this.$store.getters.visibleComponents.searchBar; + }, + settingsVisible() { + return this.getSettingsVisibility(); + }, }, methods: { userIsTypingSomething(something) {