1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 13:55:31 +03:00

Don't refresh settings on websocket event

This commit is contained in:
Jake McDermott 2020-01-02 13:49:33 -05:00
parent 4b497b8cdc
commit 6f3527ed15
No known key found for this signature in database
GPG Key ID: 0E56ED990CDFCB4F

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;