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 f179a78d..1b19033c 100644
--- a/modern/src/settings/ComputedAttributePage.jsx
+++ b/modern/src/settings/ComputedAttributePage.jsx
@@ -147,7 +147,7 @@ const ComputedAttributePage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<SelectField
- value={deviceId || 0}
+ value={deviceId}
onChange={(e) => setDeviceId(Number(e.target.value))}
endpoint="/api/devices"
label={t('sharedDevice')}