We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278aeb6 commit bb3a667Copy full SHA for bb3a667
src/components/task.vue
@@ -887,7 +887,10 @@ export default {
887
* @param {Object} data - The event data containing the tokenId of the task.
888
*/
889
async handleRedirectToTask(data) {
890
- if (data?.params[0]?.tokenId) {
+ if (
891
+ data?.params[0]?.tokenId &&
892
+ this.task.user?.id === data.params[0].userId
893
+ ) {
894
this.loadingTask = true;
895
// Check if interstitial tasks are allowed for this task.
896
if (this.task && !(this.task.allow_interstitial || this.isSameUser(this.task, data))) {
0 commit comments