File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ export function getProposalRewardsView({
137
137
view . fields . visiblePropertyIds = ( board . fields . cardProperties as { id : string } [ ] )
138
138
. map ( ( p ) => p . id )
139
139
. filter ( ( id : string ) => {
140
- if ( rewardTypes . includes ( 'custom' ) && id === REWARD_CUSTOM_VALUE ) {
140
+ if ( rewardTypes . includes ( 'custom' ) && ( id === REWARD_CUSTOM_VALUE || id === DUE_DATE_ID ) ) {
141
141
return true ;
142
- } else if ( rewardTypes . includes ( 'token' ) && ( id === REWARD_AMOUNT || id === REWARD_CHAIN ) ) {
142
+ } else if ( rewardTypes . includes ( 'token' ) && ( id === REWARD_AMOUNT || id === REWARD_CHAIN || id === DUE_DATE_ID ) ) {
143
143
return true ;
144
144
} else {
145
145
return ! id . startsWith ( '__' ) ;
@@ -148,12 +148,12 @@ export function getProposalRewardsView({
148
148
149
149
view . fields . columnWidths = {
150
150
...view . fields . columnWidths ,
151
- [ Constants . titleColumnId ] : 300
151
+ [ Constants . titleColumnId ] : 250
152
152
} ;
153
153
// set larger than normal width for all custom properties
154
154
view . fields . visiblePropertyIds . forEach ( ( id ) => {
155
155
if ( ! view . fields . columnWidths [ id ] ) {
156
- view . fields . columnWidths [ id ] = 200 ;
156
+ view . fields . columnWidths [ id ] = 150 ;
157
157
}
158
158
} ) ;
159
159
return view ;
You can’t perform that action at this time.
0 commit comments