Don't close/close folder when New folder button is clicked

This commit is contained in:
Jonatan Heyman 2024-08-04 17:58:20 +02:00
parent 706a567e76
commit 0da3e32171

View File

@ -53,7 +53,7 @@
:style="style"
>
<span class="name">{{ name }}</span>
<button class="new-folder" tabindex="-1" @click="$emit('new-folder')">New folder (+)</button>
<button class="new-folder" tabindex="-1" @click.stop.prevent="$emit('new-folder')">New folder (+)</button>
</div>
</template>