mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Fix issue with checkbox click, closes #549.
This commit is contained in:
parent
930d050698
commit
af6ee27031
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ function Checkbox({ name, value, label, onChange }) {
|
|||
className={styles.input}
|
||||
type="checkbox"
|
||||
name={name}
|
||||
value={value}
|
||||
defaultChecked={value}
|
||||
onChange={onChange}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
|
|||
</div>
|
||||
</FormRow>
|
||||
<FormRow>
|
||||
<label></label>
|
||||
<label />
|
||||
<Field name="enable_share_url">
|
||||
{({ field }) => (
|
||||
<Checkbox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue