View only updating after action (e.g click on app)
- Ngôn ngữ chính
- TypeScript
- Star
- 25.7k
- Fork
- 7.9k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.