mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Activate plot config migration
This commit is contained in:
parent
fc239d9e9b
commit
c7986e623b
|
@ -17,12 +17,11 @@ function migratePlotConfigs() {
|
||||||
plotConfigName: localStorage.getItem(PLOT_CONFIG_NAME) || 'default',
|
plotConfigName: localStorage.getItem(PLOT_CONFIG_NAME) || 'default',
|
||||||
};
|
};
|
||||||
localStorage.setItem(FT_PLOT_CONFIG_KEY, JSON.stringify(res));
|
localStorage.setItem(FT_PLOT_CONFIG_KEY, JSON.stringify(res));
|
||||||
// TODO: Remove old settings to avoid constant migration
|
localStorage.removeItem(PLOT_CONFIG);
|
||||||
// localStorage.removeItem(PLOT_CONFIG);
|
localStorage.removeItem(PLOT_CONFIG_NAME);
|
||||||
// localStorage.removeItem(PLOT_CONFIG_NAME);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// migratePlotConfigs();
|
migratePlotConfigs();
|
||||||
|
|
||||||
export const usePlotConfigStore = defineStore('plotConfig', {
|
export const usePlotConfigStore = defineStore('plotConfig', {
|
||||||
state: () => {
|
state: () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user