Skip to content

Commit 234ab8c

Browse files
authored
Merge pull request #52528 from nextcloud/backport/52525/stable30
[stable30] fix(WFE): properly set inital status
2 parents c4865cb + ebb5dea commit 234ab8c

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

apps/workflowengine/src/components/Rule.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
<Operation :operation="operation" :colored="false">
3232
<component :is="operation.element"
3333
v-if="operation.element"
34-
ref="operationComponent"
3534
:model-value="inputValue"
3635
@update:model-value="updateOperationByEvent" />
3736
<component :is="operation.options"
@@ -136,9 +135,8 @@ export default {
136135
},
137136
mounted() {
138137
this.originalRule = JSON.parse(JSON.stringify(this.rule))
139-
140138
if (this.operation?.element) {
141-
this.$refs.operationComponent.value = this.rule.operation
139+
this.inputValue = this.rule.operation
142140
} else if (this.operation?.options) {
143141
// keeping this in an else for apps that try to be backwards compatible and may ship both
144142
// to be removed in 03/2028

dist/workflowengine-workflowengine.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/workflowengine-workflowengine.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)