diff --git a/Thermo.Active/wwwroot/src/services/underTheHoodService.ts b/Thermo.Active/wwwroot/src/services/underTheHoodService.ts index 45db266d..91692723 100644 --- a/Thermo.Active/wwwroot/src/services/underTheHoodService.ts +++ b/Thermo.Active/wwwroot/src/services/underTheHoodService.ts @@ -7,7 +7,7 @@ export class UnderTheHoodService extends baseRestService { BASE_URL = async () => (await CONFIGURATION).api.apiServerUrl; async getChannels() { let result = await this.Get((await this.BASE_URL()) + "/api/underthehood/channels_io"); - underTheHoodActions.SetChannels(store, result); + underTheHoodActions.SetIOChannels(store, result); return result; } } diff --git a/Thermo.Active/wwwroot/src/store/underTheHood.store.ts b/Thermo.Active/wwwroot/src/store/underTheHood.store.ts index 47b07af3..252b69e3 100644 --- a/Thermo.Active/wwwroot/src/store/underTheHood.store.ts +++ b/Thermo.Active/wwwroot/src/store/underTheHood.store.ts @@ -7,7 +7,7 @@ export interface UnderTheHoodStoreModel { export interface UnderTheHoodActions { - SetChannels(context, model: server.channels) + SetIOChannels(context, model: server.channels) } export interface UnderTheHoodGetters { @@ -24,15 +24,15 @@ export const underTheHoodStore = { mutations: { - SetChannels(state: UnderTheHoodStoreModel, model: server.channels) { + SetIOChannels(state: UnderTheHoodStoreModel, model: server.channels) { state.ioChannels = model; }, }, actions: { - async SetChannels(context, model: server.channels) { - context.commit("SetChannels", model); + async SetIOChannels(context, model: server.channels) { + context.commit("SetIOChannels", model); }, } as UnderTheHoodActions