Removed back button from dashboard and metadata manager
This commit is contained in:
parent
84dd50e995
commit
858decb4bb
1 changed files with 3 additions and 1 deletions
|
@ -732,12 +732,14 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||
}
|
||||
|
||||
function updateBackButton(page) {
|
||||
var isDashboardPage = page.classList.contains("type-interior");
|
||||
|
||||
if (!headerBackButton) {
|
||||
headerBackButton = document.querySelector(".headerBackButton");
|
||||
}
|
||||
|
||||
if (headerBackButton) {
|
||||
if ("false" !== page.getAttribute("data-backbutton") && appRouter.canGoBack()) {
|
||||
if ("false" !== !isDashboardPage && page.getAttribute("data-backbutton") && appRouter.canGoBack()) {
|
||||
headerBackButton.classList.remove("hide");
|
||||
} else {
|
||||
headerBackButton.classList.add("hide");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue