aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Checks/RequestUserAgent.vue
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2025-04-01 21:30:18 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2025-04-03 12:40:48 +0200
commita419fc532c560a615cf0e8def78c9d0c3cec05f0 (patch)
tree2c83d2a95a1f891745e613c2ae5aa27d0f45de86 /apps/workflowengine/src/components/Checks/RequestUserAgent.vue
parent7afdce6e9d3e40b91a919a5b52420fdb4658dd98 (diff)
downloadnextcloud-server-a419fc532c560a615cf0e8def78c9d0c3cec05f0.tar.gz
nextcloud-server-a419fc532c560a615cf0e8def78c9d0c3cec05f0.zip
style(vue): satisfy linter
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/src/components/Checks/RequestUserAgent.vue')
-rw-r--r--apps/workflowengine/src/components/Checks/RequestUserAgent.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/workflowengine/src/components/Checks/RequestUserAgent.vue b/apps/workflowengine/src/components/Checks/RequestUserAgent.vue
index 8388eed821d..825a112f6fc 100644
--- a/apps/workflowengine/src/components/Checks/RequestUserAgent.vue
+++ b/apps/workflowengine/src/components/Checks/RequestUserAgent.vue
@@ -24,8 +24,8 @@
</template>
</NcSelect>
<input v-if="!isPredefined"
- type="text"
v-model="newValue"
+ type="text"
@input="updateCustom">
</div>
</template>
@@ -41,7 +41,6 @@ export default {
NcEllipsisedOption,
NcSelect,
},
- emits: ['update:model-value'],
mixins: [
valueMixin,
],
@@ -49,8 +48,9 @@ export default {
modelValue: {
type: String,
default: '',
- }
+ },
},
+ emits: ['update:model-value'],
data() {
return {
newValue: '',
@@ -81,7 +81,7 @@ export default {
}
},
currentValue: {
- get: function() {
+ get() {
if (this.matchingPredefined) {
return this.matchingPredefined
}
@@ -91,9 +91,9 @@ export default {
id: this.newValue,
}
},
- set: function(value) {
+ set(value) {
this.newValue = value
- }
+ },
},
},
methods: {