Skip to content

Commit

Permalink
only set starttoken to this.formData
Browse files Browse the repository at this point in the history
  • Loading branch information
moellenbeck committed Jun 26, 2024
1 parent d7bf7d2 commit af9a276
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@5minds/node-red-dashboard-2-processcube-dynamic-form",
"version": "1.0.10",
"version": "1.0.11",
"description": "The ui component for the ProcessCube dynamic-form",
"keywords": [
"processcube",
Expand Down
7 changes: 4 additions & 3 deletions ui/components/DynamicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default {
computed: {
...mapState("data", ["messages"]),
waiting_title() {
return this.props.waiting_title || "Warten auf den Usertask...";
return this.props.waiting_title || "Warten auf den Usertask..."
},
waiting_info() {
return (
Expand All @@ -89,8 +89,9 @@ export default {
this.init()
if (msg.payload && msg.payload.userTask && msg.payload.userTask.startToken && msg.payload.userTask.startToken.formData) {
this.formData = { ...msg.payload.userTask.startToken.formData };
console.info(this.formData)
//this.formData = { ...msg.payload.userTask.startToken.formData };
this.formData = { ...msg.payload.userTask.startToken }
console.info(this.formData)
}
this.$store.commit("data/bind", {
Expand Down

0 comments on commit af9a276

Please sign in to comment.