add title text to explain reset a bit more

This commit is contained in:
burnettk 2023-05-02 10:44:30 -04:00
parent 40e6e9a6bb
commit fa2c00821d
1 changed files with 5 additions and 0 deletions

View File

@ -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()}
>