diff options
author | Hamza <40746210+hamza221@users.noreply.github.com> | 2023-12-14 12:06:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 12:06:07 +0100 |
commit | dfa3c08ff96515000aeb92cf46b1b9a9b7571429 (patch) | |
tree | ed2dbbbf0fd2cb0928833032f3ac879b635eda86 | |
parent | c642557208ab7fb4f853782c095b1d2b630bfec6 (diff) | |
parent | 839ca6dc816228663bbfd8ab48302bc0d910e338 (diff) |
Merge pull request #3743 from nextcloud/backport/3740/stable5.3stable5.3
[stable5.3] Fix rename types in propreties
-rw-r--r-- | src/components/Properties/PropertyMultipleText.vue | 2 | ||||
-rw-r--r-- | src/components/Properties/PropertyText.vue | 2 | ||||
-rw-r--r-- | src/mixins/PropertyMixin.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue index 3c17e80d..87a76105 100644 --- a/src/components/Properties/PropertyMultipleText.vue +++ b/src/components/Properties/PropertyMultipleText.vue @@ -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 --> diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue index 3951d3ac..a6bdf8f4 100644 --- a/src/components/Properties/PropertyText.vue +++ b/src/components/Properties/PropertyText.vue @@ -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 --> diff --git a/src/mixins/PropertyMixin.js b/src/mixins/PropertyMixin.js index 1b6f6c77..8621c360 100644 --- a/src/mixins/PropertyMixin.js +++ b/src/mixins/PropertyMixin.js @@ -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) |