diff --git a/components/SummaryTable/index.vue b/components/SummaryTable/index.vue index 3bc0e98c..e7f4a18d 100644 --- a/components/SummaryTable/index.vue +++ b/components/SummaryTable/index.vue @@ -545,7 +545,7 @@ export default { computed: { ...mapGetters({ - datasetFull: 'regionEnergy/datasetFull', + datasetFull: 'regionEnergy/datasetFlat', changeSinceDataset: 'regionEnergy/changeSinceDataset', domainPowerEnergy: 'regionEnergy/domainPowerEnergy', domainPowerEnergyGrouped: 'regionEnergy/domainPowerEnergyGrouped', diff --git a/store/regionEnergy.js b/store/regionEnergy.js index ff1885c9..f993e96e 100644 --- a/store/regionEnergy.js +++ b/store/regionEnergy.js @@ -37,7 +37,7 @@ export const state = () => ({ isEnergyType: false, jsonResponses: null, datasetFlat: [], - datasetFull: [], + // datasetFull: [], currentDataset: [], changeSinceDataset: [], domainPowerEnergy: [], @@ -69,7 +69,7 @@ export const getters = { isFetching: (state) => state.isFetching, isEnergyType: (state) => state.isEnergyType, datasetFlat: (state) => state.datasetFlat, - datasetFull: (state) => state.datasetFull, + // datasetFull: (state) => state.datasetFull, currentDataset: (state) => state.currentDataset, changeSinceDataset: (state) => state.changeSinceDataset, domainPowerEnergy: (state) => state.domainPowerEnergy, @@ -133,9 +133,9 @@ export const mutations = { datasetFlat(state, datasetFlat) { state.datasetFlat = _cloneDeep(datasetFlat) }, - datasetFull(state, datasetFull) { - state.datasetFull = _cloneDeep(datasetFull) - }, + // datasetFull(state, datasetFull) { + // state.datasetFull = _cloneDeep(datasetFull) + // }, currentDataset(state, currentDataset) { state.currentDataset = _cloneDeep(currentDataset) @@ -547,7 +547,7 @@ export const actions = { } commit('datasetFlat', datasetFlat) - commit('datasetFull', datasetFull) + // commit('datasetFull', datasetFull) commit('isFetching', false) commit('isEnergyType', dataType === 'energy')