╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │326 // the issues tab mirrors this page's tag filter (issue urls │ │327 // themselves never carry the tag). │ │328 .repo_issues => self.session.data.current_page = ui.RoutablePage.repoIssuesRoute(self.data.identity.slice(), .open, self.data.issues.tag, "") orelse self.session.data.current_page,│ │323 - .home_settings => self.session.data.current_page = .{ .repo_settings = self.data.identity }, │ │324 - .home_auth => self.session.data.current_page = .{ .repo_auth = self.data.identity }, │ │329 + .home_settings => { │ │330 + if (ui.RoutablePage.Array(ui.RoutablePage.repo_route_max_len).from(self.data.identity.slice())) |identity| │ │331 + self.session.data.current_page = .{ .repo_settings = identity }; │ │332 + }, │ │333 + .home_auth => { │ │334 + if (ui.RoutablePage.Array(ui.RoutablePage.repo_route_max_len).from(self.data.identity.slice())) |identity| │ │335 + self.session.data.current_page = .{ .repo_auth = identity }; │ │336 + }, │ │337 // the quit tab is tty-only and not a route, so leave current_page │ │338 // alone (nothing to mirror into the url). │ │339 .quit => {}, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯