Skip to content

Commit 41eacb9

Browse files
committed
improve load time of RPAWorkflows
1 parent 855cdb3 commit 41eacb9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ module openflow {
9393
console.debug("RPAWorkflowsCtrl");
9494
this.collection = "openrpa";
9595
this.basequery = { _type: "workflow" };
96+
this.baseprojection = { _type: 1, type: 1, name: 1, _created: 1, _createdby: 1, _modified: 1 };
9697
WebSocketClient.onSignedin((user: TokenUser) => {
9798
this.loadData();
9899
});
@@ -167,7 +168,7 @@ module openflow {
167168
}
168169
}
169170
workflow.chart = chart;
170-
171+
if (!this.$scope.$$phase) { this.$scope.$apply(); }
171172
}
172173
this.loading = false;
173174
if (!this.$scope.$$phase) { this.$scope.$apply(); }

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.296
1+
0.0.297

0 commit comments

Comments
 (0)