fix(explorer): show file name instead of slug if no file data (closes #1822)

This commit is contained in:
Jacky Zhao
2025-03-12 11:24:28 -07:00
parent bfa938cc62
commit 270a5dc14a
4 changed files with 55 additions and 17 deletions

View File

@ -49,8 +49,15 @@ export const defaultListPageLayout: PageLayout = {
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.Flex({
components: [
{
Component: Component.Search(),
grow: true,
},
{ Component: Component.Darkmode() },
],
}),
Component.Explorer(),
],
right: [],