mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-20 06:58:52 +00:00
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)) {
|
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(
|
buttons.push(
|
||||||
<Button
|
<Button
|
||||||
|
title={titleText}
|
||||||
data-qa="reset-process-button"
|
data-qa="reset-process-button"
|
||||||
onClick={() => resetProcessInstance()}
|
onClick={() => resetProcessInstance()}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user