Skip to content

Commit

Permalink
#1367 display result tab button when retry query
Browse files Browse the repository at this point in the history
  • Loading branch information
eltriny committed Feb 4, 2019
1 parent 9eac96f commit a51540c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions discovery-frontend/src/app/workbench/workbench.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,6 @@ export class WorkbenchComponent extends AbstractComponent implements OnInit, OnD
this.isCanceled = false;
this.executeTabIds = [];
this.executeEditorId = item.editorId;
item.startDate = '';
item.finishDate = '';

this.workbenchService.checkConnectionStatus(item.editorId, this.websocketId)
.then((result) => {
Expand Down Expand Up @@ -3246,6 +3244,9 @@ class ResultTab {
this.resultStatus = 'NONE';
this.result = undefined;
this.name = 'Loading..';
this.startDate = undefined;
this.finishDate = undefined;
this.message = undefined;
this.appendLog(this.sql);
this.setExecuteStatus('GET_CONNECTION');
} // function - initialize
Expand Down

0 comments on commit a51540c

Please sign in to comment.