From 6eae92b2a9b0deaec9eaf8a84b7035a5d7c9862d Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 4 Sep 2025 08:36:20 -0400 Subject: [PATCH] Remove unused `_index` iterator in admin partial --- app/views/admin/shared/_status_attachments.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/shared/_status_attachments.html.haml b/app/views/admin/shared/_status_attachments.html.haml index 24af2b5f7dc..d34a4221db7 100644 --- a/app/views/admin/shared/_status_attachments.html.haml +++ b/app/views/admin/shared/_status_attachments.html.haml @@ -1,7 +1,7 @@ - if status.with_poll? .poll %ul - - status.preloadable_poll.options.each_with_index do |option, _index| + - status.preloadable_poll.options.each do |option| %li %label.poll__option.disabled<> - if status.preloadable_poll.multiple?