Skip to content

Commit 86c8a8c

Browse files
committed
feat(inspector): escpae from not found button
1 parent f6ab02c commit 86c8a8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/app-frontend/src/features/inspector/custom/CustomInspector.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,13 @@ export default defineComponent({
9292
icon="explore"
9393
class="wait"
9494
>
95-
Inspector {{ $route.params.inspectorId }} not found
95+
<div class="flex flex-col items-center">
96+
<div>Inspector {{ $route.params.inspectorId }} not found</div>
97+
<a
98+
class="text-green-500 hover:underline cursor-pointer"
99+
@click="$router.replace({ name: 'inspector-components' })"
100+
>Go back</a>
101+
</div>
96102
</EmptyPane>
97103
</template>
98104

0 commit comments

Comments
 (0)