make sure we show the go button on the pi show page for tasks that the user can complete w/ burnettk
This commit is contained in:
parent
161a0bceb6
commit
d99054b3a6
|
@ -277,8 +277,11 @@ export default function TaskListTable({
|
|||
if (showActionsColumn) {
|
||||
const actions = [];
|
||||
if (
|
||||
processInstanceTask.process_instance_status in
|
||||
['suspended', 'completed', 'error']
|
||||
!(
|
||||
processInstanceTask.process_instance_status in
|
||||
['suspended', 'completed', 'error']
|
||||
) &&
|
||||
!processInstanceTask.completed
|
||||
) {
|
||||
actions.push(
|
||||
<Button
|
||||
|
|
|
@ -128,6 +128,7 @@ export interface ProcessInstanceTask {
|
|||
// these are actually from HumanTaskModel on the backend
|
||||
task_title?: string;
|
||||
task_name?: string;
|
||||
completed?: boolean;
|
||||
}
|
||||
|
||||
export interface ProcessReference {
|
||||
|
|
Loading…
Reference in New Issue