Commit d7ee38dc authored by rajkumar's avatar rajkumar
Browse files

Adding submission tool in post parameter

parent 3ace54fa
Pipeline #159697 passed with stages
in 4 minutes and 25 seconds
......@@ -158,6 +158,10 @@ export class WebinAuthenticationService implements WebinAuthenticationServiceInt
var submissionAccount = JSON.parse(
sessionStorage.getItem('submissionAccount')
);
return submissionAccount["brokerName"] != "";
// Check if submissionAccount is not null in case of EGA user
if (submissionAccount) {
return submissionAccount["brokerName"] != "";
}
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