Skip to content

Commit

Permalink
Fix rename types in propreties
Browse files Browse the repository at this point in the history
Signed-off-by: hamza mahjoubi <[email protected]>
  • Loading branch information
hamza221 authored and backportbot-nextcloud[bot] committed Dec 14, 2023
1 parent ff8cd43 commit 6b22fc2
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)

Check warning on line 151 in src/mixins/PropertyMixin.js

View check run for this annotation

Codecov / codecov/patch

src/mixins/PropertyMixin.js#L151

Added line #L151 was not covered by tests

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

0 comments on commit 6b22fc2

Please sign in to comment.