Skip to content

Commit

Permalink
fix: OdaTaskSummaryCell triggers openThisTask twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
Odaimoko committed May 6, 2024
1 parent 3534e5c commit 5b8e96f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/react-view/view-template/toggle-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ export const ExternalToggleView = (props:
{
externalControl: boolean,
onChange: () => void,
onLabelClicked?: () => void,
onContentClicked?: () => void,
content?: IRenderable,

} & I_Stylable) => {
const {externalControl, onChange, onContentClicked, content} = props;
const className = externalControl ? "checkbox-container is-enabled" : "checkbox-container";
Expand Down

0 comments on commit 5b8e96f

Please sign in to comment.