теперь до выбора типа не показывается null в меню
This commit is contained in:
parent
f0a977031d
commit
2efdd0b422
@ -86,7 +86,7 @@ export default function Sidebar({ changePage, disableCollapse }: SidebarProps) {
|
||||
color: theme.palette.grey2.main,
|
||||
}}
|
||||
>
|
||||
{`Создание ${quiz.config.type}`}
|
||||
{`Создание ${quiz.config.type ?? ""}`}
|
||||
</Typography>
|
||||
)}
|
||||
{!disableCollapse && (
|
||||
@ -144,7 +144,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