From 866f99c414cb3d102483ce21c68a0e62b394baaa Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Tue, 11 Aug 2026 13:32:44 -0400 Subject: Keep the ref picker on the current view and path --- cgithub/views/_nav.eta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgithub/views/_nav.eta') diff --git a/cgithub/views/_nav.eta b/cgithub/views/_nav.eta index eb7ed42..a20fbbc 100644 --- a/cgithub/views/_nav.eta +++ b/cgithub/views/_nav.eta @@ -6,7 +6,7 @@ - + data-path="<%= it.path %>"<% } %>>
@@ -22,7 +22,7 @@ currentPath += (currentPath ? '/' : '') + part; const isLast = i === pathParts.length - 1; if (isLast) { - %>/<%= part %><%= it.isTree ? "/" : "" %><% + %>/<%= part %><%= it.view === "tree" ? "/" : "" %><% } else { %>/<%= part %><% } -- cgit v1.3.1