Skip to content

Commit

Permalink
refactor(communication mapping): remove reference from create action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Vogelsang committed Nov 4, 2021
1 parent 4e1b062 commit 099ce62
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/menu/SubscriberInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { LitElement } from 'lit-element';
import { get } from 'lit-translate';
import {
createElement,
getReference,
getVersion,
newActionEvent,
SimpleAction,
Expand Down Expand Up @@ -139,7 +138,6 @@ export function createMissingIEDNameSubscriberInfo(
new: {
parent: controlBlock,
element: iedName!,
reference: getReference(controlBlock, 'IEDName'),
},
});
});
Expand Down
7 changes: 0 additions & 7 deletions src/wizards/clientln.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { get } from 'lit-translate';

import {
createElement,
getReference,
identity,
newWizardEvent,
pathParts,
selector,
Wizard,
Expand All @@ -16,7 +14,6 @@ import {

import { List } from '@material/mwc-list';
import { ListItemBase } from '@material/mwc-list/mwc-list-item-base';
import { SingleSelectedEvent } from '@material/mwc-list/mwc-list-foundation';

import { openCommunicationMappingWizard } from './commmap-wizards.js';
import { clientIcon } from '../icons.js';
Expand Down Expand Up @@ -159,10 +156,6 @@ function addClientLnAction(doc: XMLDocument): WizardActor {
new: {
parent: cb.querySelector('RptEnabled')!,
element,
reference: getReference(
cb.querySelector('RptEnabled')!,
'ClientLN'
),
},
});
}
Expand Down

0 comments on commit 099ce62

Please sign in to comment.