🚧 Site > Add file

This commit is contained in:
brunosimon
2017-08-10 01:29:46 +02:00
parent 5cac120de2
commit f7a52d970b
17 changed files with 106 additions and 2 deletions
@@ -14,5 +14,9 @@ export default
methods:
{
onNameClick()
{
this.$store.commit('setFile', this.content.data.path.full)
}
}
}
@@ -1,5 +1,5 @@
<div>
<div class="name" :style="{ paddingLeft:depth * 20 + 'px' }">
<div class="name" :style="{ paddingLeft:depth * 20 + 'px' }" @click.prevent="onNameClick">
{{ content.name }}
</div>
</div>