Skip to content

Commit 81d26dd

Browse files
committed
feat: set ip address to agent
1 parent ab26074 commit 81d26dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/app/shared/components/utm/util/utm-agent-detail/utm-agent-detail.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Component, Input, OnInit} from '@angular/core';
2-
import {EMPTY, of} from 'rxjs';
2+
import {EMPTY} from 'rxjs';
33
import {catchError, map, tap} from 'rxjs/operators';
44
import {NetScanType} from '../../../../../assets-discover/shared/types/net-scan.type';
55
import {UtmToastService} from '../../../../alert/utm-toast.service';
@@ -53,6 +53,7 @@ export class UtmAgentDetailComponent implements OnInit {
5353
this.loading = true;
5454
const agent = {
5555
id: this.agent.id,
56+
hostname: this.agent.hostname,
5657
ip: this.agentIp,
5758
mac: this.macs.length > 0 ? this.macs[0] : '',
5859
agentKey: this.agent.agentKey

0 commit comments

Comments
 (0)