aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/DriversPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-24 19:18:14 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-24 19:18:14 -0700
commitba6c8ea46a53389b305498dde74a86298c497714 (patch)
treee7f24c6e9b7a2a8bc1ec3119140afcf1e47396f4 /modern/src/settings/DriversPage.js
parentbdefeb6520137831ba77b54b35a222b256c82153 (diff)
downloadtrackermap-web-ba6c8ea46a53389b305498dde74a86298c497714.tar.gz
trackermap-web-ba6c8ea46a53389b305498dde74a86298c497714.tar.bz2
trackermap-web-ba6c8ea46a53389b305498dde74a86298c497714.zip
Move actions to the right
Diffstat (limited to 'modern/src/settings/DriversPage.js')
-rw-r--r--modern/src/settings/DriversPage.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/settings/DriversPage.js b/modern/src/settings/DriversPage.js
index c4de30e9..b66f9f9a 100644
--- a/modern/src/settings/DriversPage.js
+++ b/modern/src/settings/DriversPage.js
@@ -12,8 +12,8 @@ import CollectionActions from './components/CollectionActions';
const useStyles = makeStyles((theme) => ({
columnAction: {
- width: theme.spacing(1),
- padding: theme.spacing(0, 1),
+ width: '1%',
+ paddingRight: theme.spacing(1),
},
}));
@@ -39,19 +39,19 @@ const DriversPage = () => {
<Table>
<TableHead>
<TableRow>
- <TableCell className={classes.columnAction} />
<TableCell>{t('sharedName')}</TableCell>
<TableCell>{t('deviceIdentifier')}</TableCell>
+ <TableCell className={classes.columnAction} />
</TableRow>
</TableHead>
<TableBody>
{items.map((item) => (
<TableRow key={item.id}>
+ <TableCell>{item.name}</TableCell>
+ <TableCell>{item.uniqueId}</TableCell>
<TableCell className={classes.columnAction} padding="none">
<CollectionActions itemId={item.id} editPath="/settings/driver" endpoint="drivers" setTimestamp={setTimestamp} />
</TableCell>
- <TableCell>{item.name}</TableCell>
- <TableCell>{item.uniqueId}</TableCell>
</TableRow>
))}
</TableBody>