Move dashboard resources partial to a component

We're renaming the HTML class (and removing the id attribute, which was
only used in tests) in order to follow our naming conventions.
This commit is contained in:
taitus
2025-06-26 18:02:08 +02:00
committed by Javi Martín
parent 4e129e7d9c
commit 048c8ce917
7 changed files with 67 additions and 62 deletions

View File

@@ -0,0 +1,7 @@
class Dashboard::ResourcesComponent < ApplicationComponent
attr_reader :active_resources
def initialize(active_resources)
@active_resources = active_resources
end
end