Skip to content

Commit 8f3f8d1

Browse files
authored
fix: remove the ability to change proposal status for proposer reader (#1571)
1 parent af1ebed commit 8f3f8d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/src/components/proposal/ProposalTableOfficer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ const ProposalTableOfficer = ({
518518
columns = columns.map((v: Column<ProposalViewData>) => {
519519
v.customSort = () => 0; // Disables client side sorting
520520

521-
if (v.field === 'statusName') {
521+
if (v.field === 'statusName' && !isReadOnly) {
522522
return {
523523
...v,
524524
render: (rowData: ProposalViewData) => (

0 commit comments

Comments
 (0)