feat(admin,api,player): settlement stats, team crests, MS fields and list bet summary
This commit is contained in:
@@ -1,8 +1,21 @@
|
||||
import { countryFlagUrl, getBuiltinCountry } from '../data/builtinCountries';
|
||||
import {
|
||||
countryFlagUrl,
|
||||
countryCrestUrl,
|
||||
countryLogoUrl,
|
||||
getBuiltinCountry,
|
||||
hasCountryCrest,
|
||||
} from '../data/builtinCountries';
|
||||
|
||||
export { countryFlagUrl, getBuiltinCountry };
|
||||
export {
|
||||
countryFlagUrl,
|
||||
countryCrestUrl,
|
||||
countryLogoUrl,
|
||||
getBuiltinCountry,
|
||||
hasCountryCrest,
|
||||
};
|
||||
|
||||
export function suggestTeamFlagUrl(code?: string): string {
|
||||
const c = getBuiltinCountry(code);
|
||||
return c ? countryFlagUrl(c) : '';
|
||||
if (!c) return '';
|
||||
return hasCountryCrest(c) ? countryCrestUrl(c) : countryFlagUrl(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user