Remove nav from task show page
This commit is contained in:
parent
fe4694729c
commit
91c9d531a7
|
@ -97,9 +97,6 @@ from spiffworkflow_backend.services.user_service import UserService
|
|||
from spiffworkflow_backend.services.workflow_execution_service import (
|
||||
execution_strategy_named,
|
||||
)
|
||||
from spiffworkflow_backend.services.workflow_execution_service import (
|
||||
StepDetailLoggingDelegate,
|
||||
)
|
||||
from spiffworkflow_backend.services.workflow_execution_service import (
|
||||
TaskModelSavingDelegate,
|
||||
)
|
||||
|
@ -1660,7 +1657,6 @@ class ProcessInstanceProcessor:
|
|||
execution_strategy_name: str = "greedy",
|
||||
) -> None:
|
||||
"""Do_engine_steps."""
|
||||
|
||||
# NOTE: Commenting out to test how this changes performance:
|
||||
# def spiff_step_details_mapping_builder(
|
||||
# task: SpiffTask, start: float, end: float
|
||||
|
|
|
@ -23,7 +23,7 @@ import ProcessBreadcrumb from '../components/ProcessBreadcrumb';
|
|||
|
||||
export default function TaskShow() {
|
||||
const [task, setTask] = useState<ProcessInstanceTask | null>(null);
|
||||
const [userTasks, setUserTasks] = useState(null);
|
||||
const [userTasks] = useState(null);
|
||||
const params = useParams();
|
||||
const navigate = useNavigate();
|
||||
const [disabled, setDisabled] = useState(false);
|
||||
|
@ -33,6 +33,8 @@ export default function TaskShow() {
|
|||
useEffect(() => {
|
||||
const processResult = (result: ProcessInstanceTask) => {
|
||||
setTask(result);
|
||||
setDisabled(false);
|
||||
/* Disable call to load previous tasks -- do not display menu.
|
||||
const url = `/v1.0/process-instances/for-me/${modifyProcessIdentifierForPathParam(
|
||||
result.process_model_identifier
|
||||
)}/${params.process_instance_id}/task-info`;
|
||||
|
@ -52,6 +54,7 @@ export default function TaskShow() {
|
|||
addError(error);
|
||||
},
|
||||
});
|
||||
*/
|
||||
};
|
||||
HttpService.makeCallToBackend({
|
||||
path: `/tasks/${params.process_instance_id}/${params.task_id}`,
|
||||
|
|
Loading…
Reference in New Issue