You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2021/06/11 13:33:55 UTC
[atlas] branch branch-2.0 updated: ATLAS-4327: UI: Deleting all
glossaries and then switching to new UI results in unexpected behaviour.
This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new b8763b9 ATLAS-4327: UI: Deleting all glossaries and then switching to new UI results in unexpected behaviour.
b8763b9 is described below
commit b8763b996e9430235e4d44539a46c3d56a6d11ac
Author: prasad pawar <pr...@freestoneinfotech.com>
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 <ni...@apache.org>
(cherry picked from commit 817afa0a33d31a32f5ed94e30a8e6584eccf77a9)
---
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,