Client - update icon for ligth theme mode
This commit is contained in:
parent
3be787de7f
commit
e587babe78
@ -133,7 +133,6 @@
|
|||||||
)
|
)
|
||||||
const isMenuOpen: Ref<boolean> = ref(false)
|
const isMenuOpen: Ref<boolean> = ref(false)
|
||||||
const displayModal: Ref<boolean> = ref(false)
|
const displayModal: Ref<boolean> = ref(false)
|
||||||
|
|
||||||
const darkMode: ComputedRef<boolean | null> = computed(
|
const darkMode: ComputedRef<boolean | null> = computed(
|
||||||
() => store.getters[ROOT_STORE.GETTERS.DARK_MODE]
|
() => store.getters[ROOT_STORE.GETTERS.DARK_MODE]
|
||||||
)
|
)
|
||||||
@ -141,7 +140,7 @@
|
|||||||
() => darkMode.value !== false
|
() => darkMode.value !== false
|
||||||
)
|
)
|
||||||
const themeIcon: ComputedRef<string> = computed(() =>
|
const themeIcon: ComputedRef<string> = computed(() =>
|
||||||
darkTheme.value ? 'fa-moon' : 'fa-sun-o'
|
darkTheme.value ? 'fa-moon' : 'fa-sun'
|
||||||
)
|
)
|
||||||
|
|
||||||
onBeforeMount(() => setTheme())
|
onBeforeMount(() => setTheme())
|
||||||
|
Loading…
Reference in New Issue
Block a user