mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Show UI version in settings
This commit is contained in:
parent
f564cb2cf2
commit
3e7a16395f
|
@ -2,6 +2,7 @@
|
|||
<div class="container mt-3">
|
||||
<b-card header="FreqUI Settings">
|
||||
<div class="text-left">
|
||||
<p>UI Version: {{ getUiVersion }}</p>
|
||||
<b-form-group
|
||||
description="Lock dynamic layouts, so they cannot move anymore. Can also be set from the navbar at the top."
|
||||
>
|
||||
|
@ -38,7 +39,7 @@ import { AlertActions } from '@/store/modules/alerts';
|
|||
import { LayoutActions, LayoutGetters } from '@/store/modules/layout';
|
||||
import { OpenTradeVizOptions, SettingsActions, SettingsGetters } from '@/store/modules/settings';
|
||||
import { Component, Vue } from 'vue-property-decorator';
|
||||
import { namespace } from 'vuex-class';
|
||||
import { namespace, Getter } from 'vuex-class';
|
||||
|
||||
const layoutNs = namespace('layout');
|
||||
const uiSettingsNs = namespace('uiSettings');
|
||||
|
@ -46,6 +47,8 @@ const alerts = namespace('alerts');
|
|||
|
||||
@Component({})
|
||||
export default class Settings extends Vue {
|
||||
@Getter getUiVersion!: string;
|
||||
|
||||
@layoutNs.Getter [LayoutGetters.getLayoutLocked]: boolean;
|
||||
|
||||
@layoutNs.Action [LayoutActions.setLayoutLocked];
|
||||
|
|
Loading…
Reference in New Issue
Block a user