]> git.localhorst.tv Git - alttp.git/commitdiff
stronger highlight for unverified changed results
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 29 Nov 2025 12:18:55 +0000 (13:18 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 29 Nov 2025 12:21:10 +0000 (13:21 +0100)
resources/js/components/results/TableRow.jsx

index cead0b5c05c22e0b2f9df0e236bf64e872f0de9d..4b697f2e7fde625b4868e3615161e82cdc8bec92 100644 (file)
@@ -37,11 +37,8 @@ const TableRow = ({
        return <tr>
                {showProtocol ? <>
                        <td className="result-changes">
-                               {result?.changed === 1 ?
-                                       `${result.changed}x`
-                               : null}
-                               {result?.changed > 1 ?
-                                       <span className="fs-5">{`${result.changed}x`}</span>
+                               {result?.changed ?
+                                       <span className={result.verified_at ? '' : 'fs-5 text-warning'}>{`${result.changed}x`}</span>
                                : null}
                        </td>
                        <td className="result-protocol">