diff --git a/src/panel-teamdropdown.tsx b/src/panel-teamdropdown.tsx index 490663afc..407bbab4a 100644 --- a/src/panel-teamdropdown.tsx +++ b/src/panel-teamdropdown.tsx @@ -790,7 +790,7 @@ class FormatDropdownPanel extends PSRoomPanel { let curSection = ''; let curColumnNum = 0; - let curColumn: (FormatData | {id: '', section: string})[] = []; + let curColumn: (FormatData | {id: null, section: string})[] = []; const columns = [curColumn]; for (const format of formats) { if (format.column !== curColumnNum) { @@ -803,7 +803,7 @@ class FormatDropdownPanel extends PSRoomPanel { if (format.section !== curSection) { curSection = format.section; if (curSection) { - curColumn.push({id: '', section: curSection}); + curColumn.push({id: null, section: curSection}); } } curColumn.push(format);