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) {
|
if (showActionsColumn) {
|
||||||
const actions = [];
|
const actions = [];
|
||||||
if (
|
if (
|
||||||
processInstanceTask.process_instance_status in
|
!(
|
||||||
['suspended', 'completed', 'error']
|
processInstanceTask.process_instance_status in
|
||||||
|
['suspended', 'completed', 'error']
|
||||||
|
) &&
|
||||||
|
!processInstanceTask.completed
|
||||||
) {
|
) {
|
||||||
actions.push(
|
actions.push(
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -128,6 +128,7 @@ export interface ProcessInstanceTask {
|
||||||
// these are actually from HumanTaskModel on the backend
|
// these are actually from HumanTaskModel on the backend
|
||||||
task_title?: string;
|
task_title?: string;
|
||||||
task_name?: string;
|
task_name?: string;
|
||||||
|
completed?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProcessReference {
|
export interface ProcessReference {
|
||||||
|
|
Loading…
Reference in New Issue