update cloud poller icon
This commit is contained in:
parent
b20a58aec4
commit
a05b125600
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue