Skip to content

Commit

Permalink
bugfix: delete usage of isDir
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiChou committed Dec 8, 2021
1 parent 64a67d5 commit fa35155
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gui/src/components/FileTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
:class="{ selected }"
@click.prevent.stop="select"
>
<a v-if="isDir" @click="expanded = !expanded" class="trigger">
<a @click="expanded = !expanded" class="trigger">
<b-icon v-if="loading" icon="loading" size="is-small" custom-class="mdi-spin" />
<b-icon v-else :icon="icon" />
</a>
<b-icon v-else :icon="icon" />
<span class="name" @dblclick="dblclick">{{ item.name }}</span>
<span class="extra">
<span v-if="root === 'home'">
Expand Down

0 comments on commit fa35155

Please sign in to comment.