Skip to content

Commit b87bb6f

Browse files
committed
fixed if condition for testFlow
1 parent 3bc2e9c commit b87bb6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quick-start/src/main/resources/static/top/topController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@
166166

167167
TaskManager.waitForTask(flow.testFlowTaskId)
168168
.success(function (result) {
169-
if (!flow.testFlowTaskId) {
169+
if (!flow.testFlowCancelled) {
170170
DataHub.displayMessage('Flow test is successful.', 'success', 'notification', false);
171171
}
172172
})
173173
.error(function () {
174-
if (!flow.testFlowTaskId) {
174+
if (!flow.testFlowCancelled) {
175175
DataHub.displayMessage('Flow test is unsuccessful.', 'error', 'notification', false);
176176
}
177177
})

0 commit comments

Comments
 (0)