mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
update cypress tests, update zod validation error messaging to UI
This commit is contained in:
parent
72ac97c5d9
commit
b1901c7278
18 changed files with 221 additions and 41 deletions
|
|
@ -27,7 +27,12 @@ export function ConfirmationForm({
|
|||
<Form error={error}>
|
||||
<p>{message}</p>
|
||||
<FormButtons flex>
|
||||
<LoadingButton isLoading={isLoading} onClick={onConfirm} variant={buttonVariant}>
|
||||
<LoadingButton
|
||||
data-test="button-confirm"
|
||||
isLoading={isLoading}
|
||||
onClick={onConfirm}
|
||||
variant={buttonVariant}
|
||||
>
|
||||
{buttonLabel || formatMessage(labels.ok)}
|
||||
</LoadingButton>
|
||||
<Button onClick={onClose}>{formatMessage(labels.cancel)}</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue