Skip to content

Commit b3861d8

Browse files
committed
Admin UI edit/present SBO parameter only for selected ASDUs.
1 parent 879040f commit b3861d8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/htdocs-admin/src/components/Tags.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,17 @@
290290

291291
<v-switch
292292
dense
293-
v-if="['command'].includes(editedItem.origin)"
293+
v-if="
294+
['command'].includes(editedItem.origin) &&
295+
[
296+
'45',
297+
'46',
298+
'47',
299+
'58',
300+
'59',
301+
'60'
302+
].includes(''+editedItem.protocolSourceASDU)
303+
"
294304
v-model="editedItem.protocolSourceCommandUseSBO"
295305
inset
296306
color="primary"

0 commit comments

Comments
 (0)