custom indicators fixed
This commit is contained in:
@@ -8,6 +8,7 @@ import LoginScreen from './components/LoginScreen.vue'
|
||||
import { useChartStore } from './stores/chart'
|
||||
import { useShapeStore } from './stores/shapes'
|
||||
import { useIndicatorStore } from './stores/indicators'
|
||||
import { useIndicatorTypesStore } from './stores/indicatorTypes'
|
||||
import { useChannelStore } from './stores/channel'
|
||||
import { useStateSync } from './composables/useStateSync'
|
||||
import { wsManager } from './composables/useWebSocket'
|
||||
@@ -93,11 +94,13 @@ const initializeApp = async () => {
|
||||
const chartStore = useChartStore()
|
||||
const shapeStore = useShapeStore()
|
||||
const indicatorStore = useIndicatorStore()
|
||||
const indicatorTypesStore = useIndicatorTypesStore()
|
||||
const channelStore = useChannelStore()
|
||||
const stateSync = useStateSync({
|
||||
chartState: chartStore,
|
||||
shapes: shapeStore,
|
||||
indicators: indicatorStore,
|
||||
indicator_types: indicatorTypesStore,
|
||||
channelState: channelStore
|
||||
})
|
||||
stateSyncCleanup = stateSync.cleanup
|
||||
|
||||
Reference in New Issue
Block a user