File tree Expand file tree Collapse file tree
src/components/AppNavigation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,14 +167,14 @@ export default {
167167 if (contactFromStore && ! this .isInGroup (contactFromStore .groups , group .id )) {
168168 const contact = this .$store .getters .getContact (Buffer .from (` ${ contactFromDropData .uid } ~${ contactFromDropData .addressbookId } ` , ' utf-8' ).toString (' base64' ))
169169 await this .$store .dispatch (' updateContactGroups' , {
170- groupNames: [... contactFromStore .groups , group .id ],
170+ groupNames: [... contactFromStore .groups , group .name ],
171171 contact,
172172 })
173173 const localContact = Object .assign (
174174 Object .create (Object .getPrototypeOf (contact)),
175175 contact,
176176 )
177- localContact .groups = [... contactFromStore .groups , group .id ]
177+ localContact .groups = [... contactFromStore .groups , group .name ]
178178 await this .$store .dispatch (' updateContact' , localContact)
179179 }
180180 } catch (e) {
You can’t perform that action at this time.
0 commit comments