summaryrefslogtreecommitdiff
path: root/app/helpers/projects/cluster_agents_helper.rb
blob: e3027759d65deab9d25dbe87440f64f250d3d374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Projects::ClusterAgentsHelper
  def js_cluster_agent_details_data(agent_name, project)
    {
      activity_empty_state_image: image_path('illustrations/empty-state/empty-state-agents.svg'),
      agent_name: agent_name,
      empty_state_svg_path: image_path('illustrations/operations-dashboard_empty.svg'),
      project_path: project.full_path
    }
  end
end