Scorecard angepasst
This commit is contained in:
@@ -90,19 +90,6 @@ export const MatchScoreInput = ({ match }: MatchScoreInputProps) => {
|
||||
<Check className="w-4 h-4 mr-2" />
|
||||
{hasResult ? 'Aktualisieren' : 'Ergebnis speichern'}
|
||||
</Button>
|
||||
|
||||
{hasResult && match.result && (
|
||||
<div className="pt-2 border-t border-border/50">
|
||||
<div className="flex justify-between text-sm">
|
||||
<span className={match.result.pointsA >= 0 ? 'text-field font-medium' : 'text-destructive'}>
|
||||
{match.result.pointsA >= 0 ? '+' : ''}{match.result.pointsA} Pkt
|
||||
</span>
|
||||
<span className={match.result.pointsB >= 0 ? 'text-field font-medium' : 'text-destructive'}>
|
||||
{match.result.pointsB >= 0 ? '+' : ''}{match.result.pointsB} Pkt
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user