Skip to content

Commit cf734ae

Browse files
author
JelteMX
committed
Prettier
1 parent 298b553 commit cf734ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/store/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@ export class NodeStore {
161161
setContext(obj?: mendix.lib.MxObject): void {
162162
this.debug("Store: setContext", obj);
163163

164-
if (this.contextObject === null || !obj || (this.contextObject && obj && this.contextObject.getGuid() !== obj.getGuid())) {
164+
if (
165+
this.contextObject === null ||
166+
!obj ||
167+
(this.contextObject && obj && this.contextObject.getGuid() !== obj.getGuid())
168+
) {
165169
this.resetState = true;
166170
this.calculateInitialParents = true;
167171
this.rowObjects = [];

0 commit comments

Comments
 (0)