Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function showProveanceGraphNotFoundDialog(manager: CLUEGraphManager, id: string) {
const dialog = generateDialog('Session Not Found!', 'Create New Temporary Session');
// append bg-danger to the dialog parent element
dialog.body.parentElement.parentElement.parentElement.classList.add('bg-danger');
dialog.body.innerHTML = `
<p>
The requested session <strong>"${id}"</strong> was not found or is not accessible.
</p>
<p>
Possible reasons are that you
</p><ul>
<li>requested a <i>temporary session</i> that is already expired</li>
<li>tried to access a <i>temporary session</i> of another user</li>
<li>tried to access a <i>private persistent session</i> of another user</li>
</ul>
<p></p>
<p>
In the latter two cases, please contact the original owner of the session to create a public persistent session. </p>