diff --git a/client/src/reducers/index.js b/client/src/reducers/index.js index 58b16e94..09c93a99 100644 --- a/client/src/reducers/index.js +++ b/client/src/reducers/index.js @@ -122,7 +122,7 @@ const dashboard = handleActions({ [actions.getVersionSuccess]: (state, { payload }) => { const currentVersion = state.dnsVersion === 'undefined' ? 0 : state.dnsVersion; - if (versionCompare(currentVersion, payload.version) === -1) { + if (payload && versionCompare(currentVersion, payload.version) === -1) { const { version, announcement_url: announcementUrl,