mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
Don't refresh settings on websocket event
This commit is contained in:
@@ -104,7 +104,12 @@ export default
|
|||||||
$rootScope.$broadcast('ws-approval');
|
$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);
|
$log.debug('Message from server dropped: ' + e.data);
|
||||||
needsRefreshAfterBlur = true;
|
needsRefreshAfterBlur = true;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user