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`.
This commit is contained in:
Richard Bowman 2024-01-10 20:19:08 +00:00
parent 81540ebc45
commit f03e0188e4

View file

@ -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
);
}
}