mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-11 05:36:10 -05:00
Tournament team page (#1380)
* WIP * Query * Backend for team page done * UI function made * UI work * Tweaks * Fix showing players from own team * Optimize performance * Inactive players styling * Stage popover
This commit is contained in:
@@ -14,7 +14,7 @@ export function parseDBJsonArray(value: any) {
|
||||
export function parseDBArray(value: any) {
|
||||
const parsed = JSON.parse(value);
|
||||
|
||||
if (parsed.length === 1 && parsed[0] === null) {
|
||||
if (!parsed || (parsed.length === 1 && parsed[0] === null)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user