' + this.sanitizer.sanitize(SecurityContext.HTML, t) + '
')); toast.body = message; toast.bodyOutputType = BodyOutputType.TrustedHtml; } if (msg.options != null) { if (msg.options.trustedHtml === true) { toast.bodyOutputType = BodyOutputType.TrustedHtml; } if (msg.options.timeout != null && msg.options.timeout > 0) { toast.timeout = msg.options.timeout; } } this.toasterService.popAsync(toast); } private routeToVault(action: string, cipherType: CipherType) { if (!this.router.url.includes('vault')) { this.router.navigate(['/vault'], { queryParams: { action: action, addType: cipherType, }, replaceUrl: true, }); } } }