mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
Update report parameters.
This commit is contained in:
parent
22d477b98b
commit
64c6d73b77
10 changed files with 44 additions and 40 deletions
|
|
@ -17,13 +17,8 @@ export function UrlAddForm({ defaultValue = '', onSave, onClose }) {
|
|||
setUrl(e.target.value);
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
setUrl('');
|
||||
onClose();
|
||||
};
|
||||
|
||||
return (
|
||||
<Form className={styles.form}>
|
||||
<Form className={styles.form} onSubmit={handleSave}>
|
||||
<FormRow label={formatMessage(labels.url)}>
|
||||
<TextField
|
||||
name="url"
|
||||
|
|
@ -37,7 +32,6 @@ export function UrlAddForm({ defaultValue = '', onSave, onClose }) {
|
|||
<Button variant="primary" onClick={handleSave}>
|
||||
{formatMessage(labels.save)}
|
||||
</Button>
|
||||
<Button onClick={handleClose}>{formatMessage(labels.cancel)}</Button>
|
||||
</FormButtons>
|
||||
</Form>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue