Skip to content

Commit

Permalink
- fixed issue when the template protein is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Dec 16, 2024
1 parent 4118297 commit 1561ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/redux/dispatchActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const shouldLoadProtein = ({
dispatch(setProteinIsLoading(true));
Promise.all(
nglViewList.map(nglView =>
dispatch(loadProtein(nglView)).finally(() => {
dispatch(loadProtein(nglView))?.finally(() => {
dispatch(setOrientation(nglView.id, nglView.stage.viewerControls.getOrientation()));
})
)
Expand Down

0 comments on commit 1561ea2

Please sign in to comment.