Skip to content

Commit

Permalink
- in case of error remove loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Jan 21, 2021
1 parent 87f11ca commit 68eaab9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/components/snapshot/redux/dispatchActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ export const saveAndShareSnapshot = nglViewList => async (dispatch, getState) =>

dispatch(setIsLoadingSnapshotDialog(false));
} catch (error) {
dispatch(setIsLoadingSnapshotDialog(false));
throw new Error(error);
}
}
Expand Down

0 comments on commit 68eaab9

Please sign in to comment.