This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 5d04061  AMBARI-24885 Ambari Files view not working when User doesnt 
have access to any group and just have access to Filesview
5d04061 is described below

commit 5d0406193db4d2f5c1716d49efe9671584e2a461
Author: Akhil Subhash Naik <asn...@hortonworks.com>
AuthorDate: Tue Nov 13 11:50:18 2018 +0530

    AMBARI-24885 Ambari Files view not working when User doesnt have access to 
any group and just have access to Filesview
---
 ambari-web/app/routes/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js
index c4cf148..bc2c542 100644
--- a/ambari-web/app/routes/main.js
+++ b/ambari-web/app/routes/main.js
@@ -51,7 +51,7 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
                     });
                   } else {
                     // Don't transit to Views when user already on View page
-                    if (App.router.currentState.name !== 'viewDetails') {
+                    if (App.router.currentState.name !== 'viewDetails' && 
App.router.currentState.name !== 'shortViewDetails') {
                       App.router.transitionTo('main.views.index');
                     }
                     clusterController.set('isLoaded', true); // hide loading 
bar

Reply via email to