Skip to content
Snippets Groups Projects
Unverified Commit ee7463f1 authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

[Dashboard] Drop unused selector (#38427)

parent 778e5cdf
No related branches found
No related tags found
No related merge requests found
......@@ -130,15 +130,6 @@ export const getDashboardById = (state: State, dashboardId: DashboardId) => {
return dashboards[dashboardId];
};
export const getSingleDashCardData = (state: State, dashcardId: DashCardId) => {
const dashcard = getDashCardById(state, dashcardId);
const cardDataMap = getCardData(state);
if (!dashcard?.card_id || !cardDataMap) {
return;
}
return cardDataMap?.[dashcard.id]?.[dashcard.card_id]?.data;
};
export const getDashboardComplete = createSelector(
[getDashboard, getDashcards],
(dashboard, dashcards) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment