aboutsummaryrefslogtreecommitdiff
path: root/modern/src/DevicePage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-25 12:36:19 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-25 12:36:19 -0700
commitd69bb2b2c3053c2c61e4e5d7029751debcfb0dd9 (patch)
treea8acdb87aea6c39ba1c0712186a2be1dadaff181 /modern/src/DevicePage.js
parent94be29b98ef9ca509c38c2576dc56828a788937e (diff)
downloadtrackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.tar.gz
trackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.tar.bz2
trackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.zip
Implement simple route report
Diffstat (limited to 'modern/src/DevicePage.js')
-rw-r--r--modern/src/DevicePage.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/modern/src/DevicePage.js b/modern/src/DevicePage.js
index c9362deb..ee525492 100644
--- a/modern/src/DevicePage.js
+++ b/modern/src/DevicePage.js
@@ -72,28 +72,28 @@ const DevicePage = () => {
<form>
{(!id || device) &&
<TextField
- margin="normal"
+ margin='normal'
fullWidth
defaultValue={device && device.name}
onChange={(event) => setName(event.target.value)}
label={t('sharedName')}
- variant="filled" />
+ variant='filled' />
}
{(!id || device) &&
<TextField
- margin="normal"
+ margin='normal'
fullWidth
defaultValue={device && device.uniqueId}
onChange={(event) => setUniqueId(event.target.value)}
label={t('deviceIdentifier')}
- variant="filled" />
+ variant='filled' />
}
- <FormControl fullWidth margin="normal">
+ <FormControl fullWidth margin='normal'>
<div className={classes.buttons}>
- <Button type="button" color="primary" variant="outlined" onClick={() => history.goBack()}>
+ <Button type='button' color='primary' variant='outlined' onClick={() => history.goBack()}>
{t('sharedCancel')}
</Button>
- <Button type="button" color="primary" variant="contained" onClick={handleSave}>
+ <Button type='button' color='primary' variant='contained' onClick={handleSave}>
{t('sharedSave')}
</Button>
</div>