mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Use correct default name
This commit is contained in:
parent
009a23f32e
commit
154e9fed3d
|
@ -195,6 +195,8 @@ export default class PlotConfigurator extends Vue {
|
|||
|
||||
@ftbot.Mutation updatePlotConfigName!: (plotConfigName: string) => void;
|
||||
|
||||
@ftbot.State('plotConfigName') usedPlotConfigName!: string;
|
||||
|
||||
get plotConfigJson() {
|
||||
return JSON.stringify(this.plotConfig, null, 2);
|
||||
}
|
||||
|
@ -230,6 +232,7 @@ export default class PlotConfigurator extends Vue {
|
|||
|
||||
mounted() {
|
||||
this.plotConfig = this.value;
|
||||
this.plotConfigName = this.usedPlotConfigName;
|
||||
}
|
||||
|
||||
newColor() {
|
||||
|
|
|
@ -4,7 +4,7 @@ const PLOT_CONFIG = 'ft_custom_plot_config';
|
|||
const PLOT_CONFIG_NAME = 'ft_selected_plot_config';
|
||||
|
||||
export function loadPlotConfigName(): string {
|
||||
return localStorage.getItem(PLOT_CONFIG_NAME) || '';
|
||||
return localStorage.getItem(PLOT_CONFIG_NAME) || 'default';
|
||||
}
|
||||
|
||||
export function storePlotConfigName(plotConfigName: string): void {
|
||||
|
|
Loading…
Reference in New Issue
Block a user