Merge pull request #5582 from jakemcdermott/fix-5265

Don't refresh settings on websocket event

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-03-23 23:10:21 +00:00 committed by GitHub
commit d941f11ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,12 @@ export default
$rootScope.$broadcast('ws-approval');
}
if(!window.liveUpdates && data.group_name !== "control" && $state.current.name !== "output"){
if (
!window.liveUpdates &&
data.group_name !== "control" &&
$state.current.name !== "output" &&
!$state.current.name.includes('settings')
) {
$log.debug('Message from server dropped: ' + e.data);
needsRefreshAfterBlur = true;
return;