Skip to content

Commit

Permalink
Merge pull request #3740 from nextcloud/Fix/rename-types
Browse files Browse the repository at this point in the history
Fix rename types in propreties
  • Loading branch information
GretaD authored Dec 14, 2023
2 parents d9e9960 + 8ef1266 commit 8cfde56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Properties/PropertyMultipleText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
tag-placeholder="create"
track-by="id"
label="name"
@tag="createLabel"
@option:created="createLabel"
@input="updateType" />

<!-- if we do not support any type on our model but one is set anyway -->
Expand Down
2 changes: 1 addition & 1 deletion src/components/Properties/PropertyText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
:disabled="isReadOnly"
track-by="id"
label="name"
@tag="createLabel"
@option:created="createLabel"
@input="updateType" />

<!-- if we do not support any type on our model but one is set anyway -->
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/PropertyMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default {
const group = propGroup.split('.')[0]
const name = propGroup.split('.')[1]

this.localContact.vCard.addPropertyWithValue(`${group}.x-ablabel`, label)
this.localContact.vCard.addPropertyWithValue(`${group}.x-ablabel`, label.name)

// force update the main design sets
setPropertyAlias(name, propGroup)
Expand Down

0 comments on commit 8cfde56

Please sign in to comment.