mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-02 03:41:09 +01:00
Added comment to explain code change on the message listener
This commit is contained in:
parent
abde38321f
commit
0c4d7fc342
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user