diff --git a/src/components/task.vue b/src/components/task.vue index d789b62a5..6f18809b7 100644 --- a/src/components/task.vue +++ b/src/components/task.vue @@ -385,6 +385,9 @@ export default { if (!requestId) { requestId = this.requestId; } + if (!this.userId) { + return; + } const timestamp = !window.Cypress ? `&t=${Date.now()}` : ""; const url = `?user_id=${this.userId}&status=ACTIVE&process_request_id=${requestId}&include_sub_tasks=1${timestamp}`; return this.$dataProvider