1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-31 22:51:28 +01:00

Added comment to explain code change on the message listener

This commit is contained in:
gbubemismith 2023-08-08 13:30:44 -04:00
parent 5766079df9
commit 986026e899
No known key found for this signature in database

View File

@ -213,6 +213,7 @@ export class BrowserApi {
}
}
//Ngzone run is added to fix the issue on Fido2Component, where the message listener is not running in the angular zone
static messageListener$(zone?: NgZone) {
return new Observable<unknown>((subscriber) => {
const handler = (message: unknown) => {