Permalink
Browse files

Check for undefined request data in UI

  • Loading branch information...
Paul Schoenfelder
Paul Schoenfelder committed Nov 30, 2017
1 parent 232e74a commit 0daf7929ae6c58ce10ebd5dc88deff4bc6d193e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 SingularityUI/app/components/tasks/Columns.jsx
@@ -308,7 +308,7 @@ export const ScheduledActions = (
cellRender={(cellData) => (
<div className="hidden-xs">
<RunNowButton requestId={cellData.pendingTask.pendingTaskId.requestId} />
{cellData.request.requestType == "ON_DEMAND" &&
{cellData.request && cellData.request.requestType == "ON_DEMAND" &&
<DeletePendingTaskButton
taskId={cellData.pendingTask.pendingTaskId.id}
requestType={cellData.request.requestType}

1 comment on commit 0daf792

@ssalinas

This comment has been minimized.

Show comment
Hide comment
@ssalinas

ssalinas Jun 20, 2018

Member

🚢

Member

ssalinas commented on 0daf792 Jun 20, 2018

🚢

Please sign in to comment.