fix(frontend): fix navbar navigation for not deployed apps (#4033)

This commit is contained in:
Faton Ramadani
2024-07-05 13:09:47 +02:00
committed by GitHub
parent 0df28b53b2
commit f3518d7c69
@@ -65,7 +65,7 @@
$: !initialized && resolvedPath && initSelection()
function getButtonProps(resolvedPath: string | undefined) {
if (resolvedPath?.includes(appPath)) {
if (appPath && resolvedPath?.includes(appPath)) {
return {
onClick: () => {
output.result.set({ currentPath: resolvedPath ?? '' })