Fix haml-lint InstanceVariables rule for relationships/account (#27342)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2023-10-11 17:06:26 +02:00
1 parent f1ae72ba46
commit d7a8f6b658
3 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
%tbody
%tr
%td.accounts-table__interrelationships
= interrelationships_icon(@relationships, account.id)
= interrelationships_icon(relationships, account.id)
%td= account_link_to account
%td.accounts-table__count.optional
= friendly_number_to_human account.statuses_count
+1 -1
View File
@@ -53,6 +53,6 @@
- if @accounts.empty?
= nothing_here 'nothing-here--under-tabs'
- else
= render partial: 'account', collection: @accounts, locals: { f: f }
= render partial: 'account', collection: @accounts, locals: { f: f, relationships: @relationships }
= paginate @accounts