mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Rename plotconfigstorage function
This commit is contained in:
parent
2d8e65b675
commit
08fa402df4
|
@ -2,7 +2,7 @@ import { PlotConfig, EMPTY_PLOTCONFIG } from '@/types';
|
|||
|
||||
const PLOT_CONFIG = 'ft_custom_plot_config';
|
||||
|
||||
export function saveCustomPlotConfig(plotConfig: PlotConfig) {
|
||||
export function storeCustomPlotConfig(plotConfig: PlotConfig) {
|
||||
localStorage.setItem(PLOT_CONFIG, JSON.stringify(plotConfig));
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import {
|
|||
AvailablePairPayload,
|
||||
} from '@/types';
|
||||
|
||||
import { saveCustomPlotConfig } from '@/shared/storage';
|
||||
import { storeCustomPlotConfig } from '@/shared/storage';
|
||||
import { showAlert } from './alerts';
|
||||
|
||||
export enum BotStoreGetters {
|
||||
|
@ -119,7 +119,7 @@ export default {
|
|||
},
|
||||
saveCustomPlotConfig(state, plotConfig: PlotConfig) {
|
||||
state.customPlotConfig = plotConfig;
|
||||
saveCustomPlotConfig(plotConfig);
|
||||
storeCustomPlotConfig(plotConfig);
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user