0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-20 13:10:13 +00:00
nextcloud_server/apps/workflowengine/src/mixins/valueMixin.js
Arthur Schiwon 5fbe00870b
fix(workflowengine): use adapted mixin again in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 12:40:48 +02:00

24 lines
373 B
JavaScript

/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
const valueMixin = {
data() {
return {
newValue: [],
}
},
watch: {
modelValue() {
this.updateInternalValue()
},
},
methods: {
updateInternalValue() {
this.newValue = this.modelValue
},
},
}
export default valueMixin