Skip to content

Commit

Permalink
Use underscore instead of slash for smvID and appID
Browse files Browse the repository at this point in the history
  • Loading branch information
danyill committed Nov 5, 2023
1 parent 884cf54 commit d8f5ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oscd-tp-multicast-naming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ export default class TPMulticastNaming extends LitElement {
const cbName = control.getAttribute('name') ?? 'Unknown';
const update = {
element: control,
attributes: { appID: `${iedName}/${cbName}` },
attributes: { appID: `${iedName}_${cbName}` },
};
edits.push(update);
}
Expand All @@ -1006,7 +1006,7 @@ export default class TPMulticastNaming extends LitElement {
element: control,
attributes: {
smvID:
smvID === 'TEMPLATE' ? `${iedName}` : `${iedName}/${smvID}`,
smvID === 'TEMPLATE' ? `${iedName}` : `${iedName}_${smvID}`,
},
};
edits.push(update);
Expand Down

0 comments on commit d8f5ca5

Please sign in to comment.