2
0

Use material symbols in table link helper (#31359)

This commit is contained in:
Matt Jankowski
2024-08-20 07:48:15 -04:00
committed by GitHub
parent c75f7262ed
commit 71405eabfc
25 changed files with 47 additions and 36 deletions

View File

@@ -13,6 +13,6 @@
- if can?(:destroy, report_note)
.report-notes__item__actions
- if report_note.is_a?(AccountModerationNote)
= table_link_to 'trash', t('admin.reports.notes.delete'), admin_account_moderation_note_path(report_note), method: :delete
= table_link_to 'delete', t('admin.reports.notes.delete'), admin_account_moderation_note_path(report_note), method: :delete
- else
= table_link_to 'trash', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete
= table_link_to 'delete', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete