aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/GroupPage.jsx
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-03-08 06:53:22 -0800
committerGitHub <noreply@github.com>2024-03-08 06:53:22 -0800
commit5b1c7664dd8e750125ba697694dd407223c7c0d1 (patch)
tree4af16db91131f2c1e1b715b054bb58df12960943 /modern/src/settings/GroupPage.jsx
parentc9da10062998a231c038cd3a519f72128fcea2bb (diff)
parent3229441f4b254eb13266486ff5b29e3dd952357b (diff)
downloadtrackermap-web-5b1c7664dd8e750125ba697694dd407223c7c0d1.tar.gz
trackermap-web-5b1c7664dd8e750125ba697694dd407223c7c0d1.tar.bz2
trackermap-web-5b1c7664dd8e750125ba697694dd407223c7c0d1.zip
Merge pull request #1212 from jinzo/autocomplete-instead-of-single-select
Replace Select with Autocomplete with single Selects
Diffstat (limited to 'modern/src/settings/GroupPage.jsx')
-rw-r--r--modern/src/settings/GroupPage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/GroupPage.jsx b/modern/src/settings/GroupPage.jsx
index d21d0e5a..ba1cbc76 100644
--- a/modern/src/settings/GroupPage.jsx
+++ b/modern/src/settings/GroupPage.jsx
@@ -72,7 +72,7 @@ const GroupPage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<SelectField
- value={item.groupId || 0}
+ value={item.groupId}
onChange={(event) => setItem({ ...item, groupId: Number(event.target.value) })}
endpoint="/api/groups"
label={t('groupParent')}