fix(config): platforms, not contests
This commit is contained in:
parent
ef8ee26edf
commit
0a320945a0
4 changed files with 21 additions and 17 deletions
|
|
@ -25,7 +25,7 @@ function M.get_platforms()
|
|||
local result = {}
|
||||
|
||||
for _, platform in ipairs(constants.PLATFORMS) do
|
||||
if config.contests[platform] then
|
||||
if config.platforms[platform] then
|
||||
table.insert(result, {
|
||||
id = platform,
|
||||
display_name = constants.PLATFORM_DISPLAY_NAMES[platform] or platform,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue