@@ -373,7 +373,7 @@ ${ tree.import_templates(itemClick='$root.assist.setPath', iconClick='$root.assi
});
window.onhashchange = function() {
- if (window.location.pathname.indexOf('/security') > -1) {
+ if (window.location.pathname.indexOf('/security/hdfs') > -1) {
viewModel.assist.path(window.location.hash.substr(1));
}
};
@@ -682,7 +682,7 @@ ${ tree.import_templates(itemClick='$root.assist.setPath', iconClick='$root.assi
+ if (window.location.pathname.indexOf('/security/hive') > -1) {
viewModel.assist.path(viewModel.getPathHash());
@@ -738,7 +738,7 @@ ${ tree.import_templates(itemClick='$root.assist.setPath', iconClick='$root.assi
window.onhashchange = function () {
+ if (window.location.pathname.indexOf('/security/${component}') > -1) {