Explorar o código

AMBARI-20158 - Host filter is missing for admin user after upgrading to ambari 2.4.2 or above <fix1> (rzang)

Richard Zang %!s(int64=8) %!d(string=hai) anos
pai
achega
df47fa77bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/experimental.js

+ 1 - 1
ambari-web/app/controllers/experimental.js

@@ -35,7 +35,7 @@ App.ExperimentalController = Em.Controller.extend(App.UserPref, {
 
   getUserPrefSuccessCallback: function (response, request, data) {
     if (response) {
-      App.set('supports', $.merge(response, App.get('supports')));
+      App.set('supports', $.extend(App.get('supports'), response));
     }
   },