теперь до выбора типа не показывается null в меню
This commit is contained in:
parent
0e0376686d
commit
a83214acd4
@ -82,7 +82,7 @@ export default function Sidebar({ changePage, disableCollapse }: SidebarProps) {
|
||||
color: theme.palette.grey2.main,
|
||||
}}
|
||||
>
|
||||
{`Создание ${quiz.config.type}`}
|
||||
{`Создание ${quiz.config.type ?? ""}`}
|
||||
</Typography>
|
||||
)}
|
||||
{!disableCollapse && (
|
||||
@ -140,7 +140,7 @@ export default function Sidebar({ changePage, disableCollapse }: SidebarProps) {
|
||||
color: theme.palette.grey2.main,
|
||||
}}
|
||||
>
|
||||
{`Настройки ${quiz.config.type}`}
|
||||
{`Настройки ${quiz.config.type ?? ""}`}
|
||||
</Typography>
|
||||
)}
|
||||
<List disablePadding>
|
||||
|
Loading…
Reference in New Issue
Block a user