Skip to content

Commit aecedde

Browse files
authored
fix: renaming device type to device class (#2861)
ref: #2852
1 parent fc37893 commit aecedde

File tree

1 file changed

+1
-1
lines changed
  • app/javascript/src/apps/mydb/elements/details/deviceDescriptions/propertiesTab

1 file changed

+1
-1
lines changed

app/javascript/src/apps/mydb/elements/details/deviceDescriptions/propertiesTab/PropertiesForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const PropertiesForm = () => {
8585
];
8686

8787
const setupDescription = () => {
88-
const type = deviceDescription.device_type;
88+
const type = deviceDescription.device_class;
8989
if (!['setup', 'component'].includes(type)) { return ''; }
9090
const rowFields = type == 'setup' ? setupFields : componentFields;
9191
const label = type == 'setup' ? 'Component' : 'Setup';

0 commit comments

Comments
 (0)