Skip to content

Commit 67c5365

Browse files
committed
chore: remove unused field in RoutesTable component, close #561
1 parent f6c9be5 commit 67c5365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client/src/components/pages/RoutesTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ const state = useDevToolsState()
6464
/>
6565
<div op0 group-hover:op100 flex="~ gap1">
6666
<button
67-
v-if="(item.file || item.meta?.file) && state.vitePluginDetected.value && _vueInspectorDetected"
67+
v-if="(item.meta?.file) && state.vitePluginDetected.value && _vueInspectorDetected"
6868
text-sm op40 hover="op100 text-primary-400"
6969
title="Open in editor"
70-
@click="openInEditor((item.file || item.meta?.file) as string)"
70+
@click="openInEditor((item.meta?.file) as string)"
7171
>
7272
<div i-carbon-script-reference />
7373
</button>

0 commit comments

Comments
 (0)