Merge pull request #52525 from nextcloud/fix/noid/wfe-set-inital-value

fix(WFE): properly set inital status
pull/46305/head
Ferdinand Thiessen 2025-04-29 13:48:04 +07:00 committed by GitHub
commit 28df049b99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

@ -31,7 +31,6 @@
<Operation :operation="operation" :colored="false">
<component :is="operation.element"
v-if="operation.element"
ref="operationComponent"
:model-value="inputValue"
@update:model-value="updateOperationByEvent" />
<component :is="operation.options"
@ -133,9 +132,8 @@ export default {
},
mounted() {
this.originalRule = JSON.parse(JSON.stringify(this.rule))
if (this.operation?.element) {
this.$refs.operationComponent.value = this.rule.operation
this.inputValue = this.rule.operation
} else if (this.operation?.options) {
// keeping this in an else for apps that try to be backwards compatible and may ship both
// to be removed in 03/2028

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long