Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a13b4ad

Browse filesBrowse files
change dashboard home link (#1629)
1 parent 54100ac commit a13b4ad
Copy full SHA for a13b4ad

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
  • pgml-dashboard/src/components/navigation/navbar/web_app
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: pgml-dashboard/src/components/navigation/navbar/web_app/template.html
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.