feat: Test using HTTPS and HTTP2
This commit is contained in:
@@ -8,6 +8,7 @@ import TableCell from "@material-ui/core/TableCell";
|
||||
import Typography from "@material-ui/core/Typography";
|
||||
|
||||
import { TopTen } from "../models/learner";
|
||||
import { userScoreToLevel } from "../models/user";
|
||||
|
||||
interface IProps {
|
||||
topTen: TopTen[];
|
||||
@@ -43,10 +44,12 @@ export default class Scoreboard extends React.Component<IProps> {
|
||||
<TableCell>
|
||||
<Typography component="b">{username}</Typography>
|
||||
</TableCell>
|
||||
{/*<TableCell numeric>{learner.level}</TableCell>*/}
|
||||
<TableCell numeric>
|
||||
{userScoreToLevel(learner.score).level}
|
||||
</TableCell>
|
||||
{/* To make this fit on both mobile and desktop, we don't use
|
||||
numeric, as it would otherwise look weir otherwise look weird */}
|
||||
<TableCell>{learner.score}</TableCell>
|
||||
<TableCell numeric>{learner.score}</TableCell>
|
||||
</TableRow>
|
||||
}
|
||||
|
||||
@@ -66,8 +69,8 @@ export default class Scoreboard extends React.Component<IProps> {
|
||||
<TableRow>
|
||||
<TableCell>#</TableCell>
|
||||
<TableCell>User</TableCell>
|
||||
{/*<TableCell>Level</TableCell>*/}
|
||||
<TableCell>Punktzahl</TableCell>
|
||||
<TableCell numeric>Level</TableCell>
|
||||
<TableCell numeric>Punktzahl</TableCell>
|
||||
</TableRow>
|
||||
</TableHead>
|
||||
<TableBody>
|
||||
|
||||
Reference in New Issue
Block a user