akveo / akveo/ngx-admin

View only updating after action (e.g click on app)

Ouverte
#1,520 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
needs investigation
Langage dominant
TypeScript
Étoiles
25.7k
Forks
7.9k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Issue type

* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**

In the starter kit tree, the view is only updating on action (e.g. login error message show only after I click on any part of the app)

**Expected behavior:**

View should update on changes (e.g, after failed login show error message)

**Steps to reproduce:**

Clone starter kit
Add dummy url for login in NbAuthModule so it can fail after login
Error message not showing only after click in any part of the app (input)

**Related code:**

Demo auth to fail login (timeout or 401)
```
NbAuthModule.forRoot({
providers: {
email: {
service: NbEmailPassAuthProvider,
config: {
baseEndpoint: 'https://localhost:8000',
login: {
redirectDelay: 500,
endpoint: '/api/auth/login',
method: 'post'
},
}
}
}
})
```

### Other information:
I have done this with a fresh install of starter kit.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.