Updated the PDF report to give the value out of 9.0
This commit is contained in:
@@ -11,7 +11,7 @@ export const RadialResult = ({module, score, total, png}: ModuleScore) => (
|
|||||||
<Image src={png} style={styles.image64}></Image>
|
<Image src={png} style={styles.image64}></Image>
|
||||||
<View style={[styles.textColor, styles.radialResultContainer]}>
|
<View style={[styles.textColor, styles.radialResultContainer]}>
|
||||||
<Text style={styles.textBold}>{score.toFixed(2)}</Text>
|
<Text style={styles.textBold}>{score.toFixed(2)}</Text>
|
||||||
<Text style={{fontSize: 8}}>out of {total}</Text>
|
<Text style={{fontSize: 8}}>out of 9.0</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user