This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 817afa0 ATLAS-4327: UI: Deleting all glossaries and then switching to
new UI results in unexpected behaviour.
817afa0 is described below
commit 817afa0a33d31a32f5ed94e30a8e6584eccf77a9
Author: prasad pawar <[email protected]>
AuthorDate: Wed Jun 9 16:45:23 2021 +0530
ATLAS-4327: UI: Deleting all glossaries and then switching to new UI
results in unexpected behaviour.
Signed-off-by: nixonrodrigues <[email protected]>
---
dashboardv3/public/js/router/Router.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dashboardv3/public/js/router/Router.js
b/dashboardv3/public/js/router/Router.js
index bd50715..eb8d042 100644
--- a/dashboardv3/public/js/router/Router.js
+++ b/dashboardv3/public/js/router/Router.js
@@ -237,6 +237,11 @@ define([
var that = this;
require(["views/site/Header",
"views/glossary/GlossaryContainerLayoutView",
"views/search/SearchDefaultLayoutView", "views/site/SideNavLayoutView"],
function(Header, GlossaryContainerLayoutView, SearchDefaultLayoutView,
SideNavLayoutView) {
var paramObj = Utils.getUrlState.getQueryParams();
+ //Below if condition is added to handle "when Glossary tab
does not have any glossary and selected in Old UI and switched to New UI is
show continous loading
+ if (paramObj === undefined) {
+ that.defaultAction();
+ return;
+ }
that.renderViewIfNotExists(that.getHeaderOptions(Header));
var options = _.extend({
guid: id,