From 739aec984be003bc9b27fef3cdea0b8c72e59cce Mon Sep 17 00:00:00 2001 From: CarliPinell Date: Tue, 5 Mar 2024 02:44:08 +0000 Subject: [PATCH] Ready for PR --- src/components/task.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/task.vue b/src/components/task.vue index 5a50ec6f9..bd301325e 100644 --- a/src/components/task.vue +++ b/src/components/task.vue @@ -96,7 +96,8 @@ export default { beforeLoadTask: { type: Function, default: defaultBeforeLoadTask }, initialLoopContext: { type: String, default: "" }, taskPreview: { type: Boolean, default: false }, - loading: { type: Number, default: null } + loading: { type: Number, default: null }, + quickFillSelectedTask: { type: Object, default: () => {} }, }, data() { return { @@ -327,6 +328,10 @@ export default { this.refreshScreen++; } + if(this.quickFillSelectedTask) { + this.requestData = _.merge({}, this.requestData, this.quickFillSelectedTask); + } + this.$emit('task-updated', this.task); if (this.task.process_request.status === 'ERROR') {