diff --git a/src/shell/store/contentVersions.js b/src/shell/store/contentVersions.js index badd6c553..dab3f1bfe 100644 --- a/src/shell/store/contentVersions.js +++ b/src/shell/store/contentVersions.js @@ -1,7 +1,9 @@ import { request } from "utility/request"; export function contentVersions(state = {}, action) { - const existingVersions = state[action.itemZUID] || []; + const existingVersions = Array.isArray(state[action.itemZUID]) + ? state[action.itemZUID] + : []; switch (action.type) { case "FETCH_ITEM_SUCCESS":