mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Create substore as function
This commit is contained in:
parent
fe8ea0afdf
commit
60fe49cbaf
|
@ -4,7 +4,7 @@ import Vuex from 'vuex';
|
|||
import userService from '@/shared/userService';
|
||||
import { getCurrentTheme, getTheme, storeCurrentTheme } from '@/shared/themes';
|
||||
import axios, { AxiosInstance } from 'axios';
|
||||
import ftbotModule, { BotStoreGetters } from './modules/ftbot';
|
||||
import { createBotSubStore, BotStoreGetters } from './modules/ftbot';
|
||||
import alertsModule from './modules/alerts';
|
||||
import layoutModule from './modules/layout';
|
||||
import settingsModule from './modules/settings';
|
||||
|
@ -40,7 +40,7 @@ export default new Vuex.Store({
|
|||
},
|
||||
},
|
||||
modules: {
|
||||
ftbot: ftbotModule,
|
||||
ftbot: createBotSubStore(),
|
||||
alerts: alertsModule,
|
||||
layout: layoutModule,
|
||||
uiSettings: settingsModule,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user