Patch bug where default table may go unrecognised

This commit is contained in:
zkldi
2022-02-20 13:58:50 +00:00
parent b239b45aec
commit 704bc6e040
@@ -64,7 +64,9 @@ export default function FolderTablePage({ reqUser, game, playtype }: Props) {
foundDefault = true;
}
// Otherwise just use the provided default.
} else if (table.default) {
}
if (table.default && !foundDefault) {
setTableID(table.tableID);
foundDefault = true;
}