Make folders clickable (#854)

make the folder icon clickable
This commit is contained in:
Manuel Garcia 2019-11-11 16:07:13 +00:00 committed by Marcel Klehr
parent c6d35a0c63
commit c2bfadd0fe
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div :class="{folder: true, 'folder--gridview': viewMode === 'grid'}">
<figure class="folder__icon icon-folder" />
<figure class="folder__icon icon-folder" @click="onSelect" />
<template v-if="!renaming">
<h3
class="folder__title"
@ -106,6 +106,7 @@ export default {
width: 20px;
background-size: cover;
margin: 15px;
cursor: pointer;
}
.folder--gridview .folder__icon {