Skip to content

Commit 9437ca4

Browse files
author
Ives van Hoorne
committed
Fix undefined value for empty sandboxes
1 parent 99aeb13 commit 9437ca4

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/store/entities/sandboxes

1 file changed

+1
-1
lines changed

packages/app/src/app/store/entities/sandboxes/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export default function reducer(
239239
case SAVE_MODULE_CODE_API_ACTIONS.REQUEST:
240240
case MASS_UPDATE_MODULE_API_ACTIONS.REQUEST:
241241
return mapValues(state, s => {
242-
if (!s.originalGitChanges) {
242+
if (!s || !s.originalGitChanges) {
243243
return s;
244244
}
245245

0 commit comments

Comments
 (0)