Skip to content

Commit

Permalink
fix: don't show tsconfig if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jan 12, 2024
1 parent ef57596 commit ca548b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/FileSelector.vue
Expand Up @@ -154,7 +154,7 @@ function horizontalScroll(e: WheelEvent) {

<div class="import-map-wrapper">
<div
v-if="showTsConfig"
v-if="showTsConfig && store.state.files[tsconfigFile]"
class="file"
:class="{ active: store.state.activeFile.filename === tsconfigFile }"
@click="store.setActive(tsconfigFile)"
Expand Down

0 comments on commit ca548b2

Please sign in to comment.