forked from hangshuo652/aurak
fix: forward passed flag in SSE final events
This commit is contained in:
@@ -807,6 +807,7 @@ const initialState: Partial<EvaluationState> = {
|
||||
mappedData.status = session.status;
|
||||
mappedData.report = session.finalReport;
|
||||
mappedData.finalScore = session.finalScore;
|
||||
mappedData.passed = (session as any).passed;
|
||||
observer.next({ type: 'final', data: mappedData });
|
||||
}
|
||||
|
||||
@@ -1181,6 +1182,7 @@ const initialState: Partial<EvaluationState> = {
|
||||
mappedData.status = session.status;
|
||||
mappedData.report = session.finalReport;
|
||||
mappedData.finalScore = session.finalScore;
|
||||
mappedData.passed = (session as any).passed;
|
||||
observer.next({ type: 'final', data: mappedData });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user