aboutsummaryrefslogtreecommitdiff
path: root/views/_tree.eta
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-08-11 13:32:44 -0400
committerJoe Mou <dev@mou.fo>2026-08-11 17:37:02 -0400
commit32ed69b43aeca42e88ab37187246e1035d4c933f (patch)
treeb11e637e784d96e285ffe43568d9d53f1def4911 /views/_tree.eta
parentd2c94ae32ff8d88f438d0e3348ca4f4a81f7bdd7 (diff)
Keep the ref picker on the current view and path
Diffstat (limited to 'views/_tree.eta')
-rw-r--r--views/_tree.eta2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_tree.eta b/views/_tree.eta
index fc7707b..a3c943d 100644
--- a/views/_tree.eta
+++ b/views/_tree.eta
@@ -1,4 +1,4 @@
-<%~ include("./_nav.eta", {...it, isTree: true}) %>
+<%~ include("./_nav.eta", {...it, view: "tree"}) %>
<% const commitPath = it.path && it.path !== "/" ? it.path : ""; %>
<div class="placeholder commit box" data-src="/api/<%= it.repo.owner %>/<%= it.repo.name %>/latest-commit/<%= it.branch %>/<%= commitPath %>">