aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-04-04 08:39:22 -0700
committerAnton Tananaev <anton@traccar.org>2024-04-04 08:39:30 -0700
commitced1341f664becb4c38049047ad046a95235b2e1 (patch)
tree34542e577d492d12d6db32381906c5baa0a1a641 /modern/src
parentb32f07710bfbc68f7469b254bb3d50093503081d (diff)
downloadtrackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.tar.gz
trackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.tar.bz2
trackermap-web-ced1341f664becb4c38049047ad046a95235b2e1.zip
Limit image file size
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/settings/DevicePage.jsx1
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>