Merge pull request #3663 from kialam/fix-3414-job-output-live-updates-disabled

Fix job output name in websocket service.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-04-10 13:52:08 +00:00
committed by GitHub

View File

@@ -96,8 +96,7 @@ export default
$log.debug('Received From Server: ' + e.data);
var data = JSON.parse(e.data), str = "";
if(!window.liveUpdates && data.group_name !== "control" && $state.current.name !== "jobResult"){
if(!window.liveUpdates && data.group_name !== "control" && $state.current.name !== "output"){
$log.debug('Message from server dropped: ' + e.data);
needsRefreshAfterBlur = true;
return;