diff --git a/ui/src/components/flows/tasks/Task.js b/ui/src/components/flows/tasks/Task.js index ade605c8a4..1d5bc67076 100644 --- a/ui/src/components/flows/tasks/Task.js +++ b/ui/src/components/flows/tasks/Task.js @@ -33,7 +33,7 @@ export default { return this.root ? this.root + "." + addKey : addKey; }, isRequired(key) { - return key === "id" || this.schema.required && this.schema.required.includes(key); + return this.schema.required && this.schema.required.includes(key); }, getType(property, key) { if (property.enum !== undefined) { diff --git a/ui/src/components/flows/tasks/TaskObject.vue b/ui/src/components/flows/tasks/TaskObject.vue index 880beeabed..cbb2df1051 100644 --- a/ui/src/components/flows/tasks/TaskObject.vue +++ b/ui/src/components/flows/tasks/TaskObject.vue @@ -150,12 +150,6 @@ {}, ); - if (requiredFields && !properties.id) { - properties = { - ...properties, - id: {type: "string", $required: true}, - }; - } return this.sortProperties(properties); } diff --git a/ui/src/stores/plugins.js b/ui/src/stores/plugins.js index e8dec7e25a..9db8568536 100644 --- a/ui/src/stores/plugins.js +++ b/ui/src/stores/plugins.js @@ -47,7 +47,7 @@ export default { `${apiUrl(this)}/plugins/${options.cls}/versions/${options.version}` : `${apiUrl(this)}/plugins/${options.cls}`; - return this.$http.get(url).then(response => { + return this.$http.get(url, {params: options}).then(response => { if (options.commit !== false) { if (options.all === true) { commit("setPluginAllProps", response.data);