Skip to content

Commit

Permalink
gemfiel
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 5, 2023
1 parent ce217fd commit 98d2595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/application/_notice_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if defined?(current_user) && current_user %>
<%= link_to({ controller: 'notice/my/notifications' }, class: 'navbar-item', id: 'notify_show') do %>
<%= link_to({ controller: 'notice/my/notifications' }, id: 'notice_show', class: 'navbar-item') do %>
<i class="fa-regular fa-bell"></i>
<span class="pl-1" id="notice_count"><%= current_user.unread_count %></span>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/me/_notice_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= link_to({ controller: 'notice/me/notifications' }, data: { turbo_frame: '_top' }, id: 'notify_show', class: 'navbar-item') do %>
<%= link_to({ controller: 'notice/me/notifications' }, data: { turbo_frame: '_top' }, id: 'notice_show', class: 'navbar-item') do %>
<i class="fa-solid fa-bell"></i>
<span class="pl-1" id="notice_count"><%= current_member.unread_count %></span>
<% end %>

0 comments on commit 98d2595

Please sign in to comment.