Skip to content

Commit

Permalink
Fix submit fhir flag form permission
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Jan 26, 2025
1 parent 7d313fa commit 6ade1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fhir-flag/src/components/CloseFlagForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const CloseFlagForm = (props: CloseFlagFormProps) => {
mutate(values);
};

const saveBtnDisabled = userRole.hasPermissions([
const saveBtnDisabled = !userRole.hasPermissions([
'Flag.update',
'Encounter.update',
'Observation.update',
Expand Down

0 comments on commit 6ade1ec

Please sign in to comment.