|
|
@ -244,6 +244,7 @@ function Home({ initialSettings }) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
], [settings.layout]);
|
|
|
|
], [settings.layout]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
if (!activeTab) {
|
|
|
|
if (!activeTab) {
|
|
|
|
const initialTab = decodeURI(asPath.substring(asPath.indexOf("#") + 1));
|
|
|
|
const initialTab = decodeURI(asPath.substring(asPath.indexOf("#") + 1));
|
|
|
|
if (initialTab !== '/') {
|
|
|
|
if (initialTab !== '/') {
|
|
|
@ -252,6 +253,7 @@ function Home({ initialSettings }) {
|
|
|
|
setActiveTab(tabs['0'] ?? false)
|
|
|
|
setActiveTab(tabs['0'] ?? false)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const servicesAndBookmarksGroups = useMemo(() => {
|
|
|
|
const servicesAndBookmarksGroups = useMemo(() => {
|
|
|
|
const tabGroupFilter = g => g && [activeTab, undefined].includes(settings.layout?.[g.name]?.tab);
|
|
|
|
const tabGroupFilter = g => g && [activeTab, undefined].includes(settings.layout?.[g.name]?.tab);
|
|
|
|