summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModuleClientView.vue
diff options
context:
space:
mode:
authorUdo Walter2019-02-23 10:13:12 +0100
committerUdo Walter2019-02-23 10:13:12 +0100
commit6f4ce41ba3c9d32a71225ca8b9700266c63edfb1 (patch)
tree0e6abef962680d2ebf8d7990cb18567f5c86b4bd /webapp/src/components/GroupModuleClientView.vue
parent[webapp/groups] add delete button to groups and clients (diff)
downloadbas-6f4ce41ba3c9d32a71225ca8b9700266c63edfb1.tar.gz
bas-6f4ce41ba3c9d32a71225ca8b9700266c63edfb1.tar.xz
bas-6f4ce41ba3c9d32a71225ca8b9700266c63edfb1.zip
[webapp/groups] small bugfix
Diffstat (limited to 'webapp/src/components/GroupModuleClientView.vue')
-rw-r--r--webapp/src/components/GroupModuleClientView.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/GroupModuleClientView.vue b/webapp/src/components/GroupModuleClientView.vue
index 4190019..03d9642 100644
--- a/webapp/src/components/GroupModuleClientView.vue
+++ b/webapp/src/components/GroupModuleClientView.vue
@@ -173,7 +173,7 @@ export default {
this.info.ip = this.client.ip
this.info.mac = this.client.mac
this.info.uuid = this.client.uuid
- this.groups = this.client.groups || []
+ this.groups = this.client.groups ? this.client.groups.slice(0) : []
},
cancelEdit () {
this.editMode = false