mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
(cherry picked from commit d5a176c121713da4c479da57b16df3507870f797) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
6fa6063639
commit
053b37ec3a
@ -65,11 +65,14 @@ export function LocationColumn(props: TableColumnProps): TableColumn {
|
||||
|
||||
if (!location) {
|
||||
return (
|
||||
<Text style={{ fontStyle: 'italic' }}>{t`No location set`}</Text>
|
||||
<Text
|
||||
size='sm'
|
||||
style={{ fontStyle: 'italic' }}
|
||||
>{t`No location set`}</Text>
|
||||
);
|
||||
}
|
||||
|
||||
return <Text>{location.name}</Text>;
|
||||
return <Text size='sm'>{location.name}</Text>;
|
||||
},
|
||||
...props
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user