Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita13b4ad

Browse files
change dashboard home link (#1629)
1 parent54100ac commita13b4ad

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
<divclass="fixed-top-nav font-family-primary"data-controller="navigation-navbar-web-app">
@@ -20,7 +22,7 @@
2022
</button>
2123

2224
<divclass="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)

[8]ページ先頭

©2009-2025 Movatter.jp