Skip to content

Commit

Permalink
Merge pull request #2684 from JoinColony/fix/#2683-move-funds-created…
Browse files Browse the repository at this point in the history
…in-field

Fix: CreatedIn Field should be read only for Move Funds motions
  • Loading branch information
davecreaser authored Jul 10, 2024
2 parents 4a2fe3a + 180f1d9 commit 8184bb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TransferFundsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
const selectedTeam = watch('from');

const hasNoDecisionMethods = useHasNoDecisionMethods();
const createdInFilterFn = useFilterCreatedInField('from');
const createdInFilterFn = useFilterCreatedInField('from', true);

return (
<>
Expand Down Expand Up @@ -71,7 +71,7 @@ const TransferFundsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
/>

<DecisionMethodField />
<CreatedIn filterOptionsFn={createdInFilterFn} />
<CreatedIn readonly filterOptionsFn={createdInFilterFn} />
<Description />
</>
);
Expand Down

0 comments on commit 8184bb1

Please sign in to comment.