mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Fix disappearing theme select button
This commit is contained in:
parent
654d68a240
commit
32214a5ab4
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<b-link variant="primary" class="nav-link" @click="toggleNight">
|
||||
<b-link class="nav-link" @click="toggleNight">
|
||||
<i-mdi-brightness-6 />
|
||||
</b-link>
|
||||
</template>
|
||||
|
@ -11,7 +11,7 @@ import { onMounted, ref } from 'vue';
|
|||
const activeTheme = ref('');
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
const setTheme = (themeName) => {
|
||||
const setTheme = (themeName: string) => {
|
||||
// If theme is already active, do nothing.
|
||||
if (activeTheme.value === themeName) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user