aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/UserPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-21 14:24:52 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-21 18:31:07 -0700
commit4cdda2a42d673a901f39ecf6a24478ec683654a2 (patch)
tree0c0ea01718cc4af86ae74e1d69fe2361093b5c36 /modern/src/settings/UserPage.js
parent29653ad898b6ec29c5d2675fe188aeac53ec3c19 (diff)
downloadtrackermap-web-4cdda2a42d673a901f39ecf6a24478ec683654a2.tar.gz
trackermap-web-4cdda2a42d673a901f39ecf6a24478ec683654a2.tar.bz2
trackermap-web-4cdda2a42d673a901f39ecf6a24478ec683654a2.zip
Fix attribute selection
Diffstat (limited to 'modern/src/settings/UserPage.js')
-rw-r--r--modern/src/settings/UserPage.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js
index b3608015..8bae2e59 100644
--- a/modern/src/settings/UserPage.js
+++ b/modern/src/settings/UserPage.js
@@ -345,6 +345,7 @@ const UserPage = () => {
</AccordionDetails>
</Accordion>
<EditAttributesAccordion
+ attribute={attribute}
attributes={item.attributes}
setAttributes={(attributes) => setItem({ ...item, attributes })}
definitions={{ ...commonUserAttributes, ...userAttributes }}