diff --git a/app/actions/appActions.js b/app/actions/appActions.js index f2a8851..c72372f 100644 --- a/app/actions/appActions.js +++ b/app/actions/appActions.js @@ -165,7 +165,7 @@ export function loadDashboardMetadata() { export function storeDashboardMetadata(data) { return { - type: constants.STORE_DOMAIN_DATA, + type: constants.STORE_DASHBOARD_METADATA, payload: { version: data.version } diff --git a/app/reducers/appReducer.js b/app/reducers/appReducer.js index dfbffbd..d98ad9b 100644 --- a/app/reducers/appReducer.js +++ b/app/reducers/appReducer.js @@ -51,7 +51,7 @@ export default createReducer(initialState, { }, // stores the metadata about the dashboard into the state - [constants.STORE_DOMAIN_DATA]: (state, payload) => { + [constants.STORE_DASHBOARD_METADATA]: (state, payload) => { return Object.assign({}, state, { metadata: { hasLoaded: true,