diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue
index 676c9d1b0b..c946a94c0a 100644
--- a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue
+++ b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue
@@ -87,7 +87,7 @@
:credentialId="credentialId"
:credentialPermissions="credentialPermissions"
:modalBus="modalBus"
- @change="onChangeSharedWith"
+ @update:modelValue="onChangeSharedWith"
/>
diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialSharing.ee.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialSharing.ee.vue
index 0f91226224..a87a3e8e8d 100644
--- a/packages/editor-ui/src/components/CredentialEdit/CredentialSharing.ee.vue
+++ b/packages/editor-ui/src/components/CredentialEdit/CredentialSharing.ee.vue
@@ -147,7 +147,7 @@ export default defineComponent({
methods: {
async onAddSharee(userId: string) {
const sharee = { ...this.usersStore.getUserById(userId), isOwner: false };
- this.$emit('change', (this.credentialData.sharedWith || []).concat(sharee));
+ this.$emit('update:modelValue', (this.credentialData.sharedWith || []).concat(sharee));
},
async onRemoveSharee(userId: string) {
const user = this.usersStore.getUserById(userId);
@@ -170,7 +170,7 @@ export default defineComponent({
if (confirm === MODAL_CONFIRM) {
this.$emit(
- 'change',
+ 'update:modelValue',
this.credentialData.sharedWith.filter((sharee: IUser) => {
return sharee.id !== user.id;
}),