fix: the URL typo in the workflow-sharing notification email (#4200)
### What changes were proposed in this PR?
Fix the URL typo in the workflow-sharing notification email. The prefix
`dashboard/user` was missing.
For example, the old URL https://hub.texera.io/workflow/2358 should be
updated to https://hub.texera.io/dashboard/user/workflow/2358.
### How was this PR tested?
Tested with existing test cases.
### Was this PR authored or co-authored using generative AI tooling?
No
Co-authored-by: Xiaozhen Liu <xiaozl3@uci.edu>
diff --git a/frontend/src/app/dashboard/component/user/share-access/share-access.component.ts b/frontend/src/app/dashboard/component/user/share-access/share-access.component.ts
index 3a42129..b2c145d 100644
--- a/frontend/src/app/dashboard/component/user/share-access/share-access.component.ts
+++ b/frontend/src/app/dashboard/component/user/share-access/share-access.component.ts
@@ -155,7 +155,7 @@
this.emailTags.forEach(email => {
let message = `${this.userService.getCurrentUser()?.email} shared a ${this.type} with you`;
if (this.type !== "computing-unit")
- message += `, access the ${this.type} at ${location.origin}/workflow/${this.id}`;
+ message += `, access the ${this.type} at ${location.origin}/dashboard/user/workflow/${this.id}`;
this.accessService
.grantAccess(this.type, this.id, email, this.validateForm.value.accessLevel)
.pipe(untilDestroyed(this))