X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftournament%2FScoreboard.js;h=e142a80e030488f9a96d474d31d390b9a5259617;hb=9e52cf7a5fc89a89301e00e9595c80b783449bbe;hp=008974b7cc76ce1b8f362707f0dfb6fdcead4ee0;hpb=1c3b922ba7143a548c8a7526f5e4384f336e2f1e;p=alttp.git diff --git a/resources/js/components/tournament/Scoreboard.js b/resources/js/components/tournament/Scoreboard.js index 008974b..e142a80 100644 --- a/resources/js/components/tournament/Scoreboard.js +++ b/resources/js/components/tournament/Scoreboard.js @@ -1,8 +1,9 @@ import PropTypes from 'prop-types'; import React from 'react'; -import { Table } from 'react-bootstrap'; +import { Button, Table } from 'react-bootstrap'; import { withTranslation } from 'react-i18next'; +import Icon from '../common/Icon'; import Box from '../users/Box'; import { calculateScores } from '../../helpers/Tournament'; import i18n from '../../i18n'; @@ -18,7 +19,22 @@ const Scoreboard = ({ tournament }) => {calculateScores(tournament).map(score => - + +
+ + {score.participant.user.stream_link ? + + : null} +
+ {score.score} )}