Skip to content

Commit ca548b2

Browse files
committed
fix: don't show tsconfig if not present
1 parent ef57596 commit ca548b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor/FileSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function horizontalScroll(e: WheelEvent) {
154154

155155
<div class="import-map-wrapper">
156156
<div
157-
v-if="showTsConfig"
157+
v-if="showTsConfig && store.state.files[tsconfigFile]"
158158
class="file"
159159
:class="{ active: store.state.activeFile.filename === tsconfigFile }"
160160
@click="store.setActive(tsconfigFile)"

0 commit comments

Comments
 (0)