Extract component for visible to valuators toggling

This commit is contained in:
Javi Martín
2024-10-06 18:04:44 +02:00
parent 958c13061f
commit 00d7299e9e
6 changed files with 34 additions and 20 deletions

View File

@@ -1,6 +1,5 @@
class Admin::BudgetInvestments::RowComponent < ApplicationComponent
attr_reader :investment
use_helpers :can?
def initialize(investment)
@investment = investment