aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributePage.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/ComputedAttributePage.jsx')
-rw-r--r--modern/src/settings/ComputedAttributePage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/ComputedAttributePage.jsx b/modern/src/settings/ComputedAttributePage.jsx
index f7ffe36e..e3a5e5a2 100644
--- a/modern/src/settings/ComputedAttributePage.jsx
+++ b/modern/src/settings/ComputedAttributePage.jsx
@@ -156,7 +156,7 @@ const ComputedAttributePage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<SelectField
- value={deviceId || null}
+ value={deviceId}
onChange={(e) => setDeviceId(Number(e.target.value))}
endpoint="/api/devices"
label={t('sharedDevice')}