few more bugfixes

This commit is contained in:
Olivier Gagnon
2021-11-11 23:28:08 -05:00
parent a54e613e42
commit 3112dc60c0
24 changed files with 72 additions and 86 deletions
+7 -1
View File
@@ -480,7 +480,13 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
<TextField
InputProps={{
startAdornment: (
<Typography color={formatTime(timestampFormat) === "format error" ? "error" : "success"}>
<Typography
color={
formatTime(timestampFormat) === "format error" && timestampFormat !== ""
? "error"
: "success"
}
>
Timestamp&nbsp;format:&nbsp;
</Typography>
),