Skip to content

Commit

Permalink
Merge pull request #196 from kufu/revert-194-hotfix/stop_friend
Browse files Browse the repository at this point in the history
Revert "Revert "Revert "Only Admin"""
  • Loading branch information
kinoppyd authored May 14, 2024
2 parents 1b25ae1 + 94f87cb commit 8453efd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/profiles/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
</button>
<%= render 'dialog', profile: @profile %>
</div>
<% if @user.admin? %>
<div class="ml-2" data-controller="dialog" data-dialog-element-id-value="add-friend-dialog">
<button
class="p-2 text-sm min-h-[calc(0.587143rem+18px)] border-[rgb(214,211,208)] bg-white text-[rgb(35,34,30)] normal-button"
Expand All @@ -54,7 +53,6 @@
</div>
</dialog>
</div>
<% end %>
<% end %>

</div>
Expand Down

0 comments on commit 8453efd

Please sign in to comment.