mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 12:18:48 +00:00
Allow tab name 0
This commit is contained in:
parent
898fb88d86
commit
e663994c9b
2 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ function Home({ initialSettings }) {
|
|||
const tabs = useMemo( () => [
|
||||
...new Set(
|
||||
Object.keys(settings.layout ?? {}).map(
|
||||
(groupName) => settings.layout[groupName]?.tab
|
||||
(groupName) => settings.layout[groupName]?.tab?.toString()
|
||||
).filter(group => group)
|
||||
)
|
||||
], [settings.layout]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue