Skip to content

Commit

Permalink
Merge pull request nextcloud#3744 from nextcloud/backport/3740/stable5.4
Browse files Browse the repository at this point in the history
[stable5.4] Fix rename types in propreties
  • Loading branch information
hamza221 authored Dec 14, 2023
2 parents ff8cd43 + 6b22fc2 commit 7f8e56a
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 7f8e56a

Please sign in to comment.