From f03e0188e479e9fc5e19e7a4216f1fe4adc4fa16 Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Wed, 10 Jan 2024 20:19:08 +0000 Subject: [PATCH] Fix a typo when reacting to an existing invocation checkExistingTasks was looking up the task's `self` link by checking for `rel=self`, which failed. I have corrected this to `rel="self"` - `self` would have evaluated to `undefined`. --- webapp/src/components/genericComponents/taskSubmitter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/genericComponents/taskSubmitter.vue b/webapp/src/components/genericComponents/taskSubmitter.vue index 105af6c8..8ebc1bf0 100644 --- a/webapp/src/components/genericComponents/taskSubmitter.vue +++ b/webapp/src/components/genericComponents/taskSubmitter.vue @@ -194,7 +194,7 @@ export default { this.$emit("taskStarted"); this.startPolling( task.id, - task.links.find(t => t.rel == self).href + task.links.find(t => t.rel == "self").href ); } }