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:
parent
81540ebc45
commit
f03e0188e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue