diff --git a/app/spa/src/pages/Teams/TeamDashboard.tsx b/app/spa/src/pages/Teams/TeamDashboard.tsx index 530f4c183..807160854 100644 --- a/app/spa/src/pages/Teams/TeamDashboard.tsx +++ b/app/spa/src/pages/Teams/TeamDashboard.tsx @@ -62,17 +62,6 @@ const TEAM_DASHBOARD_QUERY = gql` keys values } - biggestFiveLeadTimes: latestDeliveries(orderField: "leadtime", sortDirection: DESC, limit: 5) { - ...demand - } - biggestFiveLeadTimesInFourWeeks: latestDeliveries( - orderField: "leadtime" - sortDirection: DESC - limit: 5 - startDate: "${format(subWeeks(new Date(), 4), "yyyy-MM-dd")}" - ) { - ...demand - } teamConsolidationsWeekly(startDate: $startDate, endDate: $endDate) { leadTimeP80 consolidationDate @@ -83,20 +72,6 @@ const TEAM_DASHBOARD_QUERY = gql` } } } - - fragment demand on Demand { - id - leadtime - endDate - product { - id - name - } - project { - id - name - } - } ` type TeamDashboardDTO = { @@ -228,13 +203,13 @@ const TeamDashboard = () => { )} - + - +