summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamza <40746210+hamza221@users.noreply.github.com>2023-12-14 12:06:14 +0100
committerGitHub <noreply@github.com>2023-12-14 12:06:14 +0100
commit7f8e56a712a0eb2ec53d909c11e6782e206d9043 (patch)
tree29636dcbd03983ff331884accbac6d912b2016da
parentff8cd43f62e3e423f2cd1db971b2ffd385ae0ca4 (diff)
parent6b22fc2447c89800aa2696238f9a80a30916e228 (diff)
Merge pull request #3744 from nextcloud/backport/3740/stable5.4
[stable5.4] Fix rename types in propreties
-rw-r--r--src/components/Properties/PropertyMultipleText.vue2
-rw-r--r--src/components/Properties/PropertyText.vue2
-rw-r--r--src/mixins/PropertyMixin.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue
index c2f725ba..1f489cfd 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 c7a85958..ba4e7076 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)