Skip to content

Commit

Permalink
Merge branch 'slow-build-time' of https://github.com/hms-dbmi-celleni…
Browse files Browse the repository at this point in the history
…cs/ui into slow-build-time
  • Loading branch information
StefanBabukov committed Jul 11, 2022
2 parents c6fb889 + 4f74884 commit 9116dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/data-processing/ChangesNotAppliedModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ChangesNotAppliedModal = (props) => {
status: backendStatus,
} = useSelector(getBackendStatus(experimentId));

const paramsHash = backendStatus.gem2s?.paramsHash;
const paramsHash = backendStatus?.gem2s?.paramsHash;

const dispatch = useDispatch();

Expand All @@ -44,8 +44,8 @@ const ChangesNotAppliedModal = (props) => {
<Button
type='primary'
key='run'
disabled={!experimentId || !paramsHash}
onClick={() => {
if (!experimentId || !paramsHash) return;
dispatch(runQC(experimentId, paramsHash));
onRunQC();
}}
Expand Down

0 comments on commit 9116dc9

Please sign in to comment.