Skip to content

Commit

Permalink
Fix "new" bearer login link not showing
Browse files Browse the repository at this point in the history
The link to the page did not show if the user has no bearer logins
yet.
  • Loading branch information
akadusei committed Jul 11, 2024
1 parent 599009a commit b993f03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/current_user/bearer_logins/index_page.cr
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ struct CurrentUser::BearerLogins::IndexPage < MainLayout
if pages.total > 1
mount Lucky::Paginator::SimpleNav, pages
end
end

para do
link "[+] #{add_new_text}", to: New
end
para do
link "[+] #{add_new_text}", to: New
end
end
end

0 comments on commit b993f03

Please sign in to comment.