Skip to content

Commit 28df049

Browse files
authored
Merge pull request #52525 from nextcloud/fix/noid/wfe-set-inital-value
fix(WFE): properly set inital status
2 parents 698146c + 94202f2 commit 28df049

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"
@@ -133,9 +132,8 @@ export default {
133132
},
134133
mounted() {
135134
this.originalRule = JSON.parse(JSON.stringify(this.rule))
136-
137135
if (this.operation?.element) {
138-
this.$refs.operationComponent.value = this.rule.operation
136+
this.inputValue = this.rule.operation
139137
} else if (this.operation?.options) {
140138
// keeping this in an else for apps that try to be backwards compatible and may ship both
141139
// 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)