Skip to content

Commit

Permalink
fix(editors/IED): Allow IEDs to be updated after edit count change (c…
Browse files Browse the repository at this point in the history
…loses #1272) (#1275)

Co-authored-by: cad <christian.dinkel@omicronenergy.com>
  • Loading branch information
danyill and ca-d committed Jul 1, 2023
1 parent ebde770 commit 1df6842
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/editors/IED.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ export default class IedPlugin extends LitElement {
super.updated(_changedProperties);

// When the document is updated, we reset the selected IED.
if (_changedProperties.has('doc') || _changedProperties.has('nsdoc')) {
if (
_changedProperties.has('doc') ||
_changedProperties.has('editCount') ||
_changedProperties.has('nsdoc')
) {
this.selectedIEDs = [];
this.selectedLNClasses = [];

Expand Down

0 comments on commit 1df6842

Please sign in to comment.