mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
fix(home): fix homepage edge heartbeat judgement [EE-2041] (#6624)
* fix(home): judge LastCheckInDate with QueryDate for heartbeat * refactor(environments): remove deprecated variable homepageLoadTime * style(environments): run yarn format Co-authored-by: sam@gemibook <huapox@126.com>
This commit is contained in:
parent
f1ea2b5c02
commit
5188ead870
10 changed files with 15 additions and 41 deletions
|
@ -325,6 +325,8 @@ type (
|
|||
AMTDeviceGUID string `json:"AMTDeviceGUID,omitempty" example:"4c4c4544-004b-3910-8037-b6c04f504633"`
|
||||
// LastCheckInDate mark last check-in date on checkin
|
||||
LastCheckInDate int64
|
||||
// QueryDate of each query with the endpoints list
|
||||
QueryDate int64
|
||||
// IsEdgeDevice marks if the environment was created as an EdgeDevice
|
||||
IsEdgeDevice bool
|
||||
// Whether the device has been trusted or not by the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue