Skip to content

Commit 136e206

Browse files
committed
front: stdcm: display only symbol of unit
1 parent 6251873 commit 136e206

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

front/src/applications/stdcm/components/STDCMAllowances.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ const STDCMAllowances = () => {
2929
const standardAllowanceTypes = [
3030
{
3131
id: 'percentage',
32-
label: t ? t('allowanceTypes.percentage') : '',
33-
unit: ALLOWANCE_UNITS_KEYS.percentage,
32+
label: ALLOWANCE_UNITS_KEYS.percentage,
3433
},
3534
{
3635
id: 'time_per_distance',
37-
label: t ? t('allowanceTypes.time_per_distance') : '',
38-
unit: ALLOWANCE_UNITS_KEYS.time_per_distance,
36+
label: ALLOWANCE_UNITS_KEYS.time_per_distance,
3937
},
4038
];
4139

@@ -86,6 +84,8 @@ const STDCMAllowances = () => {
8684
handleType={onchangeType}
8785
value={stdcmStandardAllowance?.value || 0}
8886
type={stdcmStandardAllowance?.type || ''}
87+
orientation="right"
88+
typeValue="number"
8989
condensed
9090
sm
9191
/>

0 commit comments

Comments
 (0)