Merge pull request #52527 from nextcloud/backport/52525/stable31

[stable31] fix(WFE): properly set inital status
This commit is contained in:
Ferdinand Thiessen 2025-04-30 14:34:31 +02:00 committed by GitHub
commit d656d5f4f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View file

@ -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"
@ -136,9 +135,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