Skip to content
Snippets Groups Projects
Unverified Commit bbbeeef1 authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

Don't consider text box dashcards for loading timer (#11939)

parent 2af39498
No related merge requests found
......@@ -1132,9 +1132,9 @@ const loadingDashCards = handleActions(
[FETCH_DASHBOARD]: {
next: (state, { payload }) => ({
...state,
dashcardIds: Object.values(payload.entities.dashcard || {}).map(
dc => dc.id,
),
dashcardIds: Object.values(payload.entities.dashcard || {})
.filter(dc => !isVirtualDashCard(dc))
.map(dc => dc.id),
}),
},
[FETCH_DASHBOARD_CARD_DATA]: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment