Skip to content

Commit a13b4ad

Browse files
change dashboard home link (#1629)
1 parent 54100ac commit a13b4ad

File tree

1 file changed

+3
-1
lines changed
  • pgml-dashboard/src/components/navigation/navbar/web_app

1 file changed

+3
-1
lines changed

pgml-dashboard/src/components/navigation/navbar/web_app/template.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
use crate::models::Cluster;
66

77
let standalone_dashboard = config::standalone_dashboard();
8+
9+
let home_link = if standalone_dashboard {"/"} else {"/deployments"};
810
%>
911

1012
<div class="fixed-top-nav font-family-primary" data-controller="navigation-navbar-web-app">
@@ -20,7 +22,7 @@
2022
</button>
2123

2224
<div class="web-app-left-nav-sized-container">
23-
<%+ PostgresLogo::new("/").hide_owl() %>
25+
<%+ PostgresLogo::new(home_link).hide_owl() %>
2426
</div>
2527

2628
<!-- Button to toggle collapsed menu for less than lg screens -->

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy