' + this.sanitizer.sanitize(SecurityContext.HTML, t) + '
')); options.enableHtml = true; } if (msg.options != null) { if (msg.options.trustedHtml === true) { options.enableHtml = true; } if (msg.options.timeout != null && msg.options.timeout > 0) { options.timeOut = msg.options.timeout; } } this.toastrService.show(message, msg.title, options, 'toast-' + msg.type); } private routeToVault(action: string, cipherType: CipherType) { if (!this.router.url.includes('vault')) { this.router.navigate(['/vault'], { queryParams: { action: action, addType: cipherType, }, replaceUrl: true, }); } } }