Skip to content

Commit bb3a667

Browse files
committed
FOUR-28401 Issue Identified with Parallel Task Redirect Behavior
1 parent 278aeb6 commit bb3a667

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/task.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,10 @@ export default {
887887
* @param {Object} data - The event data containing the tokenId of the task.
888888
*/
889889
async handleRedirectToTask(data) {
890-
if (data?.params[0]?.tokenId) {
890+
if (
891+
data?.params[0]?.tokenId &&
892+
this.task.user?.id === data.params[0].userId
893+
) {
891894
this.loadingTask = true;
892895
// Check if interstitial tasks are allowed for this task.
893896
if (this.task && !(this.task.allow_interstitial || this.isSameUser(this.task, data))) {

0 commit comments

Comments
 (0)