Commit 1170065b by Ansab Ali

URL replace fix*

parent 1cef11c5
...@@ -39,7 +39,7 @@ export class AuthGuard implements CanActivate { ...@@ -39,7 +39,7 @@ export class AuthGuard implements CanActivate {
const matches = url.match(/job\/(\d+)\/message-engine/); const matches = url.match(/job\/(\d+)\/message-engine/);
if (matches[1]) { if (matches[1]) {
redirectPage = redirectPage.replace(':jobId', matches[1]); redirectPage = redirectPage.replace(':jobId', matches[1]);
window.location.href = (environment.baseUrl + redirectPage); window.location.href = `${environment.baseUrl + redirectPage}&from=Messaging`;
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment