From e587babe78c6742d984b8bcf6b475bb26493e52c Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 16 Dec 2023 21:22:00 +0100 Subject: [PATCH] Client - update icon for ligth theme mode --- fittrackee_client/src/components/NavBar.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fittrackee_client/src/components/NavBar.vue b/fittrackee_client/src/components/NavBar.vue index 16c0e5de..aabc4419 100644 --- a/fittrackee_client/src/components/NavBar.vue +++ b/fittrackee_client/src/components/NavBar.vue @@ -133,7 +133,6 @@ ) const isMenuOpen: Ref = ref(false) const displayModal: Ref = ref(false) - const darkMode: ComputedRef = computed( () => store.getters[ROOT_STORE.GETTERS.DARK_MODE] ) @@ -141,7 +140,7 @@ () => darkMode.value !== false ) const themeIcon: ComputedRef = computed(() => - darkTheme.value ? 'fa-moon' : 'fa-sun-o' + darkTheme.value ? 'fa-moon' : 'fa-sun' ) onBeforeMount(() => setTheme())