add title text to explain reset a bit more
This commit is contained in:
parent
7e3314b016
commit
3be4f7cfc5
|
@ -851,8 +851,13 @@ export default function ProcessInstanceShow({ variant }: OwnProps) {
|
|||
);
|
||||
}
|
||||
if (canResetProcess(task)) {
|
||||
let titleText =
|
||||
'This will reset (rewind) the process to put it into a state as if the execution of the process never went past this task. ';
|
||||
titleText += 'Yes, we invented a time machine. ';
|
||||
titleText += 'And no, you cannot go back after using this feature.';
|
||||
buttons.push(
|
||||
<Button
|
||||
title={titleText}
|
||||
data-qa="reset-process-button"
|
||||
onClick={() => resetProcessInstance()}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue