🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
change dashboard home link
  • Loading branch information
chillenberger committed Oct 2, 2024
commit 7a78de944e0e7e221049a46337d93b477d29b4a0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
use crate::models::Cluster;

let standalone_dashboard = config::standalone_dashboard();

let home_link = if standalone_dashboard {"/"} else {"/deployments"};
%>

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

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

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