Преглед на файлове

AMBARI-7203 Routing from configs to summary page doesn't work. (atkach)

atkach преди 11 години
родител
ревизия
8ff74259c3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ambari-web/app/routes/main.js

+ 1 - 1
ambari-web/app/routes/main.js

@@ -539,7 +539,7 @@ module.exports = Em.Route.extend({
       route: '/:service_id',
       connectOutlets: function (router, service) {
         router.get('mainServiceController').connectOutlet('mainServiceItem', service);
-        if (service && service.get('routeToConfigs')) {
+        if (service && router.get('mainServiceItemController').get('routeToConfigs')) {
           router.transitionTo('configs');
         } else {
           router.transitionTo('summary');