diff --git a/packages/app/src/layouts/default.vue b/packages/app/src/layouts/default.vue index 7ac3de7e4f91..380861c49fb7 100644 --- a/packages/app/src/layouts/default.vue +++ b/packages/app/src/layouts/default.vue @@ -110,6 +110,12 @@ const resetErrorAndLoadConfig = (id: string) => { } } -const renderSidebar = !isRunMode +const renderSidebar = computed(() => { + if (currentRoute.name === 'Specs' && query.data.value) { + return !isRunMode && query.data.value?.currentProject?.isLoadingConfigFile === false + } + + return !isRunMode +}) diff --git a/packages/app/src/navigation/SidebarNavigation.vue b/packages/app/src/navigation/SidebarNavigation.vue index 31e6be1c8790..569db38ce1dc 100644 --- a/packages/app/src/navigation/SidebarNavigation.vue +++ b/packages/app/src/navigation/SidebarNavigation.vue @@ -28,7 +28,6 @@