diff --git a/model/client.go b/model/client.go index 4a40b27..07711d7 100644 --- a/model/client.go +++ b/model/client.go @@ -16,6 +16,7 @@ type Client struct { PresharedKey string `json:"presharedKey"` AllowedIPs []string `json:"allowedIPs"` Address []string `json:"address"` + Tags []string `json:"tags"` PrivateKey string `json:"privateKey"` PublicKey string `json:"publicKey"` CreatedBy string `json:"createdBy"` diff --git a/ui/src/components/Clients.vue b/ui/src/components/Clients.vue index 16869bc..4d34028 100644 --- a/ui/src/components/Clients.vue +++ b/ui/src/components/Clients.vue @@ -44,6 +44,17 @@ {{ ip }} + + + mdi-tag + {{ tag }} + + At {{ item.created | formatDate }} by {{ item.createdBy }} @@ -122,6 +133,17 @@ {{ ip }} + + + mdi-tag + {{ tag }} + + @@ -255,7 +277,26 @@ - + + + + {{ item }} + + + + + + + {{ item }} + + +
At {{ item.created | formatDate }} by {{ item.createdBy }}