akveo / akveo/nebular

nb-card-header doesn't render in initial load

未關閉
#2,755 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
8.1k
分支
1.5k
PR 合併指標
30 天內沒有已合併 PR

描述

**I'm submitting a bug report**

### Issue description

**Current behavior:**
When I login and redirect to the authenticated part of my application. I can't see `nb-card-header` until I refresh the page. The `nb-card-header` component can be seen in inspect even if it is not rendered.

**Before refresh (initial load)**
![GP3tP](https://user-images.githubusercontent.com/36449961/120311709-7b2de400-c2e0-11eb-83fc-5ce5273e002d.png)

**After refresh**
![7pfoV](https://user-images.githubusercontent.com/36449961/120311660-6c473180-c2e0-11eb-9390-cb4118e2702f.png)

This is happening when a user signs in and redirected to the dashboard. In dashboard I have multiple pages like this and none of them render `nb-card-header`. When I navigate site through dashboard with `router`, it doesn't render aswell but if I reload one of the pages or navigate by changing url it starts to render.

I can see `nb-card-header` component in the inspect even if it is not rendered.

![EMYhd](https://user-images.githubusercontent.com/36449961/120312458-67cf4880-c2e1-11eb-9db9-30294f40dff2.png)

**Expected behavior:**
It should render initially like other components.

**Related code:**

```


Users

NEW



....



ID
Name
E-mail
Organisation
Actions

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。