Update Ruby gems and Yarn packages.

This commit is contained in:
evazion
2021-05-14 21:42:08 -05:00
parent e36fb6fee3
commit ca8bfb9149
8 changed files with 665 additions and 654 deletions

View File

@@ -91,13 +91,13 @@
<%= render PopupMenuComponent.new do |menu| %>
<% if policy(comment).update? %>
<%= menu.item do %>
<% menu.item do %>
<%= link_to edit_comment_path(comment.id), id: "edit_comment_link_#{comment.id}", class: "edit_comment_link" do %>
<%= edit_icon %> Edit
<% end %>
<% end %>
<%= menu.item do %>
<% menu.item do %>
<% if comment.is_deleted? %>
<%= link_to comment_path(comment.id), "data-params": "comment[is_deleted]=false", method: :put, remote: true do %>
<%= undelete_icon %> Undelete
@@ -111,7 +111,7 @@
<% end %>
<% if policy(comment).can_sticky_comment? %>
<%= menu.item do %>
<% menu.item do %>
<% if comment.is_sticky? %>
<%= link_to comment_path(comment.id), "data-params": "comment[is_sticky]=false", method: :put, remote: true do %>
<%= unsticky_icon %> Unsticky
@@ -125,14 +125,14 @@
<% end %>
<% if policy(comment).reportable? %>
<%= menu.item do %>
<% menu.item do %>
<%= link_to new_moderation_report_path(moderation_report: { model_type: "Comment", model_id: comment.id }), remote: true do %>
<%= flag_icon %> Report
<% end %>
<% end %>
<% end %>
<%= menu.item do %>
<% menu.item do %>
<%= link_to comment_path(comment.id), class: "comment-copy-link" do %>
<%= link_icon %> Copy ID
<% end %>