ngx-auth-firebaseui
ngx-auth-firebaseui copied to clipboard
onAccountDeleted doesn't get called in the ngx-auth-firebaseui-user component
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> related issue #186
- [ ] feature request
OS and Version?
Microsoft Windows [Version 10.0.19041.450]
Versions
Angular CLI: 9.1.12 Node: 12.13.0 OS: win32 x64
Angular: 9.1.12 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.901.12 @angular-devkit/build-angular 0.901.12 @angular-devkit/build-optimizer 0.901.12 @angular-devkit/build-webpack 0.901.12 @angular-devkit/core 9.1.12 @angular-devkit/schematics 9.1.12 @angular/cdk 9.2.4 @angular/fire 6.0.2 @angular/flex-layout 9.0.0-beta.31 @angular/material 9.2.4 @ngtools/webpack 9.1.12 @schematics/angular 9.1.12 @schematics/update 0.901.12 rxjs 6.5.5 typescript 3.8.3 webpack 4.42.0
Repro steps
<ngx-auth-firebaseui-user (onAccountDeleted)="accountDeleted()"></ngx-auth-firebaseui-user>
The log given by the failure
N/A
Desired functionality
accountDeleted() {
console.log('account deleted');
}
accountDeleted()
is called when onAccountDeleted
emits.
Mention any other details that might be useful
related issue #186
I created a minimal reproduction: https://github.com/twixthehero/account-delete-test
-
git clone [email protected]:twixthehero/account-delete-test
-
cd account-delete-test && npm install
- Configure
FirebaseAppConfig
in src/app/app.module.ts - Run
npm start
- Open http://localhost:4200.
- Click 'Register' tab, create a new account.
- Once logged in, click 'delete account'.
I will check that