Merge branch 'Wren' into shiy-login
This commit is contained in:
@@ -88,12 +88,12 @@ interface BackendStatisticsResponse {
|
|||||||
is_up: boolean;
|
is_up: boolean;
|
||||||
};
|
};
|
||||||
monthly_pass_rate: number;
|
monthly_pass_rate: number;
|
||||||
pass_rate_growth: {
|
monthly_pass_rate_growth: {
|
||||||
value: number;
|
value: number;
|
||||||
is_up: boolean;
|
is_up: boolean;
|
||||||
};
|
};
|
||||||
issues_detected: number;
|
monthly_detected_issues: number;
|
||||||
issues_growth: {
|
monthly_issues_growth: {
|
||||||
value: number;
|
value: number;
|
||||||
is_up: boolean;
|
is_up: boolean;
|
||||||
};
|
};
|
||||||
@@ -172,13 +172,13 @@ export async function getHomeData(reviewType?: string | null, userId?: string |
|
|||||||
},
|
},
|
||||||
monthlyPassRate: backendData.monthly_pass_rate,
|
monthlyPassRate: backendData.monthly_pass_rate,
|
||||||
passRateGrowth: {
|
passRateGrowth: {
|
||||||
value: backendData.pass_rate_growth.value,
|
value: backendData.monthly_pass_rate_growth.value,
|
||||||
isUp: backendData.pass_rate_growth.is_up
|
isUp: backendData.monthly_pass_rate_growth.is_up
|
||||||
},
|
},
|
||||||
issuesDetected: backendData.issues_detected,
|
issuesDetected: backendData.monthly_detected_issues,
|
||||||
issuesGrowth: {
|
issuesGrowth: {
|
||||||
value: backendData.issues_growth.value,
|
value: backendData.monthly_issues_growth.value,
|
||||||
isUp: backendData.issues_growth.is_up
|
isUp: backendData.monthly_issues_growth.is_up
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user