Dashlist: use defaultChecked for IconToggle (#42642)

pull/42742/head
Alex Khomenko 4 years ago committed by GitHub
parent cdfb2d02d5
commit 9c2126c002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/plugins/panel/dashlist/DashList.tsx

@ -194,7 +194,7 @@ function IconToggle({
<label className={styles.wrapper}>
<input
type="checkbox"
checked={checked}
defaultChecked={checked}
onClick={toggleCheckbox}
className={styles.checkBox}
aria-label={ariaLabel}

Loading…
Cancel
Save