add default redirect

This commit is contained in:
Jordi Enric committed 2025-02-10 18:22:58 +01:00
1 parent 98945c7755
commit 676fdba2dc
1 file changed
+4
@@ -38,6 +38,10 @@ const LogsLayout = ({ title, children }: PropsWithChildren<LogsLayoutProps>) =>
query: { ref },
})
}
if (last5chars === '/logs' && !lastLogsPage) {
router.push('/logs/explorer')
}
}, [router, lastLogsPage, ref])
if (!canUseLogsExplorer) {