Skip to content

Commit

Permalink
Fix for resolution note switch (#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
teodosii authored Sep 10, 2024
1 parent f25314d commit c0a8429
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import { useStore } from 'state/useStore';
export const MainSettings = observer(() => {
const styles = useStyles2(getStyles);
const {
organizationStore: { currentOrganization, saveCurrentOrganization },
organizationStore,
organizationStore: { currentOrganization },
pluginStore: { apiUrlFromStatus },
} = useStore();

Expand All @@ -41,7 +42,7 @@ export const MainSettings = observer(() => {
<Switch
value={currentOrganization?.is_resolution_note_required}
onChange={(event) => {
saveCurrentOrganization({
organizationStore.saveCurrentOrganization({
is_resolution_note_required: event.currentTarget.checked,
});
}}
Expand Down

0 comments on commit c0a8429

Please sign in to comment.