diff --git a/TODO b/TODO index 2eb9b0e69..62f6f757a 100644 --- a/TODO +++ b/TODO @@ -93,8 +93,6 @@ keep players on their real historical teams https://old.reddit.com/r/BasketballG Player Bio Info: Button to equalize all country frequencies (to 1) https://old.reddit.com/r/BasketballGM/comments/1d59y20/monthly_suggestions_thread/l7e83r5/ -Put each countries flag next to the country name in the "Countries" frivolity. https://old.reddit.com/r/BasketballGM/comments/1d59y20/monthly_suggestions_thread/l89p32u/ - tests -> vitest - normal tests - vitest had trouble with circular dependencies, like importing stuff from util returns undefined - when browser testing is stable, could replace the karma/mocha stuff with vitest diff --git a/src/ui/views/Colleges.tsx b/src/ui/views/Colleges.tsx index 8b065f473..1059bfb6b 100644 --- a/src/ui/views/Colleges.tsx +++ b/src/ui/views/Colleges.tsx @@ -1,6 +1,6 @@ import useTitleBar from "../hooks/useTitleBar"; import { getCols, helpers, useLocalPartial } from "../util"; -import { DataTable } from "../components"; +import { CountryFlag, DataTable } from "../components"; import type { View } from "../../common/types"; import { frivolitiesMenu } from "./Frivolities"; import { wrappedPlayerNameLabels } from "../components/PlayerNameLabels"; @@ -97,6 +97,9 @@ export const genView = ( window.encodeURIComponent(c.name), ])} > + {type === "country" ? ( + + ) : null} {type === "draftPosition" && c.name === "undrafted" ? "none" : c.name}