mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
@@ -30,8 +30,8 @@ export class TwoFactorRecoveryComponent {
|
|||||||
'<code style="font-family: Menlo, Monaco, Consolas, \'Courier New\', monospace;">' +
|
'<code style="font-family: Menlo, Monaco, Consolas, \'Courier New\', monospace;">' +
|
||||||
this.code + '</code></div>' +
|
this.code + '</code></div>' +
|
||||||
'<p style="text-align: center;">' + new Date() + '</p>');
|
'<p style="text-align: center;">' + new Date() + '</p>');
|
||||||
|
w.onafterprint = () => w.close();
|
||||||
w.print();
|
w.print();
|
||||||
w.close();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private formatString(s: string) {
|
private formatString(s: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user