update cloud poller icon

This commit is contained in:
Graham McIntire 2026-01-26 15:38:09 -06:00
parent b20a58aec4
commit a05b125600
No known key found for this signature in database

View file

@ -262,7 +262,7 @@ defmodule ToweropsWeb.DeviceLive.Show do
agent_token = Agents.get_agent_token!(agent_token_id)
%{
type: :agent,
type: if(agent_token.is_cloud_poller, do: :cloud, else: :agent),
name: agent_token.name,
source: source,
last_seen_at: agent_token.last_seen_at