Skip to content
Permalink
Browse files
Check for undefined request data in UI
  • Loading branch information
Paul Schoenfelder committed Nov 30, 2017
1 parent 232e74a commit 0daf792
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

Please sign in to comment.