diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-04 08:39:22 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-04 08:39:30 -0700 |
commit | ced1341f664becb4c38049047ad046a95235b2e1 (patch) | |
tree | 34542e577d492d12d6db32381906c5baa0a1a641 /modern | |
parent | b32f07710bfbc68f7469b254bb3d50093503081d (diff) | |
download | trackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.tar.gz trackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.tar.bz2 trackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.zip |
Limit image file size
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/settings/DevicePage.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/settings/DevicePage.jsx b/modern/src/settings/DevicePage.jsx index 0feb000b..8933a210 100644 --- a/modern/src/settings/DevicePage.jsx +++ b/modern/src/settings/DevicePage.jsx @@ -157,6 +157,7 @@ const DevicePage = () => { filesLimit={1} onChange={handleFiles} showAlerts={false} + maxFileSize={500000} /> </AccordionDetails> </Accordion> |