Skip to content

Commit 6ea0944

Browse files
Fix busId column length in shortcircuit results, in order to view filter/sort icons (especially when french language is selected) (#3302)
Signed-off-by: Franck LECUYER <[email protected]>
1 parent bd55ef6 commit 6ea0944

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,17 @@ const ShortCircuitAnalysisResultTable: FunctionComponent<ShortCircuitAnalysisRes
187187
};
188188

189189
return [
190-
makeAgGridCustomHeaderColumn({
191-
headerName: intl.formatMessage({ id: 'IDNode' }),
192-
colId: 'elementId',
193-
field: 'elementId',
194-
context: {
195-
...onlyIfIsAllBuses({ sortParams, ...inputFilterParams(textFilterParams) }),
196-
},
197-
}),
190+
{
191+
...makeAgGridCustomHeaderColumn({
192+
headerName: intl.formatMessage({ id: 'IDNode' }),
193+
colId: 'elementId',
194+
field: 'elementId',
195+
context: {
196+
...onlyIfIsAllBuses({ sortParams, ...inputFilterParams(textFilterParams) }),
197+
},
198+
}),
199+
minWidth: 180,
200+
},
198201
makeAgGridCustomHeaderColumn({
199202
headerName: intl.formatMessage({ id: 'busVoltageLevel' }),
200203
colId: 'voltageLevel',

0 commit comments

Comments
 (0)