Skip to content

Commit e6224cc

Browse files
committed
[TASK] Fix Prettier formatting in eb-layer.js
1 parent 76663e9 commit e6224cc

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Resources/Public/JavaScript/domain-modeling.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,9 +1793,7 @@ class oe extends x {
17931793
this._updateWirePositions();
17941794
}
17951795
_onContainerRemoved(e) {
1796-
const { moduleId: t } = e.detail, i = this._wires.filter(
1797-
(r) => r.srcModuleId === t || r.tgtModuleId === t
1798-
);
1796+
const { moduleId: t } = e.detail, i = this._wires.filter((r) => r.srcModuleId === t || r.tgtModuleId === t);
17991797
if (i.length === 0) {
18001798
this._removeContainer(t);
18011799
return;

Resources/Public/jsDomainModeling/src/eb-layer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ export class EbLayer extends LitElement {
163163

164164
_onContainerRemoved(e) {
165165
const { moduleId } = e.detail;
166-
const connectedWires = this._wires.filter(
167-
(w) => w.srcModuleId === moduleId || w.tgtModuleId === moduleId
168-
);
166+
const connectedWires = this._wires.filter((w) => w.srcModuleId === moduleId || w.tgtModuleId === moduleId);
169167
if (connectedWires.length === 0) {
170168
this._removeContainer(moduleId);
171169
return;

0 commit comments

Comments
 (0)