diff --git a/package.json b/package.json index 469cce5..16f3355 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "primal-web-app", - "version": "0.77.17", + "version": "0.77.18", "description": "", "scripts": { "start": "vite", diff --git a/src/components/Checkbox/Checkbox.tsx b/src/components/Checkbox/Checkbox.tsx index 9d24f66..3c67a9a 100644 --- a/src/components/Checkbox/Checkbox.tsx +++ b/src/components/Checkbox/Checkbox.tsx @@ -9,6 +9,7 @@ const Checkbox: Component<{ label?: string, icon?: string, children?: JSXElement, + disabled?: boolean, }> = (props) => { return ( @@ -18,6 +19,7 @@ const Checkbox: Component<{ type='checkbox' checked={props.checked} onChange={props.onChange} + disabled={props.disabled} /> diff --git a/src/pages/Settings/Moderation.tsx b/src/pages/Settings/Moderation.tsx index cc8d9ea..a631865 100644 --- a/src/pages/Settings/Moderation.tsx +++ b/src/pages/Settings/Moderation.tsx @@ -240,6 +240,7 @@ const Moderation: Component = () => { id={`${my()?.pubkey}_content`} onChange={() => account?.actions.updateFilterList(my()?.pubkey, !my()?.content, my()?.trending)} checked={my()?.content} + disabled={true} />
@@ -247,6 +248,7 @@ const Moderation: Component = () => { id={`${my()?.pubkey}_trending`} onChange={() => account?.actions.updateFilterList(my()?.pubkey, my()?.content, !my()?.trending)} checked={my()?.trending} + disabled={true} />