aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components/BaseCommandView.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/components/BaseCommandView.jsx')
-rw-r--r--modern/src/settings/components/BaseCommandView.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/modern/src/settings/components/BaseCommandView.jsx b/modern/src/settings/components/BaseCommandView.jsx
index 070ecfed..f4d5d4b2 100644
--- a/modern/src/settings/components/BaseCommandView.jsx
+++ b/modern/src/settings/components/BaseCommandView.jsx
@@ -31,7 +31,6 @@ const BaseCommandView = ({ deviceId, item, setItem }) => {
value={item.type || null}
onChange={(e) => setItem({ ...item, type: e.target.value, attributes: {} })}
endpoint={deviceId ? `/api/commands/types?${new URLSearchParams({ deviceId }).toString()}` : '/api/commands/types'}
- keyField='type'
keyGetter={(it) => it.type}
titleGetter={(it) => t(prefixString('command', it.type))}
label={t('sharedType')}