summaryrefslogtreecommitdiff
path: root/cgithub/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
commit866f99c414cb3d102483ce21c68a0e62b394baaa (patch)
tree973b8e526bf51e8a05f6daab262d84035b7e2901 /cgithub/views/_tree.eta
parent10f923b51e2844486651493b44974e418a2be6d9 (diff)
Keep the ref picker on the current view and path
Diffstat (limited to 'cgithub/views/_tree.eta')
-rw-r--r--cgithub/views/_tree.eta2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgithub/views/_tree.eta b/cgithub/views/_tree.eta
index fc7707b..a3c943d 100644
--- a/cgithub/views/_tree.eta
+++ b/cgithub/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 %>">