2
0

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

This commit is contained in:
Matt Jankowski
2023-10-11 11:06:26 -04:00
committed by GitHub
parent f1ae72ba46
commit d7a8f6b658
3 changed files with 5 additions and 6 deletions

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

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