mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Added comment to explain code change on the message listener
This commit is contained in:
@@ -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) {
|
static messageListener$(zone?: NgZone) {
|
||||||
return new Observable<unknown>((subscriber) => {
|
return new Observable<unknown>((subscriber) => {
|
||||||
const handler = (message: unknown) => {
|
const handler = (message: unknown) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user