Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fix issue with checkbox click, closes #549.
Mike Caoaf6ee2703192
diff --git a/components/common/Checkbox.js b/components/common/Checkbox.jsindex 9b76e8053..0cd0dcad9 100644--- a/components/common/Checkbox.js+++ b/components/common/Checkbox.js@@ -22,7 +22,7 @@ function Checkbox({ name, value, label, onChange }) {className={styles.input}type="checkbox"name={name}- value={value}+ defaultChecked={value}onChange={onChange}/></div>diff --git a/components/forms/WebsiteEditForm.js b/components/forms/WebsiteEditForm.jsindex 4bc19a2f9..0be48561e 100644--- a/components/forms/WebsiteEditForm.js+++ b/components/forms/WebsiteEditForm.js@@ -77,7 +77,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {</div></FormRow><FormRow>- <label></label>+ <label /><Field name="enable_share_url">{({ field }) => (<Checkbox