mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 13:35:17 +00:00
36e9937c7f
works around broken design of useToast in bootstrap-vue-next.
42 lines
950 B
Vue
42 lines
950 B
Vue
<template>
|
|
<div id="app" class="d-flex flex-column dvh-100" :style="colorStore.cssVars">
|
|
<NavBar />
|
|
<BaseAlert></BaseAlert>
|
|
<BodyLayout class="flex-fill overflow-auto" />
|
|
<NavFooter />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { setTimezone } from './shared/formatters';
|
|
|
|
import { useSettingsStore } from './stores/settings';
|
|
import { useColorStore } from './stores/colors';
|
|
const settingsStore = useSettingsStore();
|
|
const colorStore = useColorStore();
|
|
onMounted(() => {
|
|
setTimezone(settingsStore.timezone);
|
|
colorStore.updateProfitLossColor();
|
|
});
|
|
watch(
|
|
() => settingsStore.timezone,
|
|
(tz) => {
|
|
console.log('timezone changed', tz);
|
|
setTimezone(tz);
|
|
},
|
|
);
|
|
</script>
|
|
|
|
<style scoped>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
}
|
|
|
|
/* * {
|
|
outline: 1px solid #f00 !important;
|
|
} */
|
|
</style>
|