add title text to explain reset a bit more
This commit is contained in:
parent
40e6e9a6bb
commit
fa2c00821d
|
@ -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