Skip to content

Commit

Permalink
fix(files): set contextmenu as todo for list view
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcg committed Mar 9, 2022
1 parent 613e279 commit bf04a16
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions components/views/files/row/Row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export default Vue.extend({
return {
menuHover: false as boolean,
contextMenuValues: [
{ text: 'Favorite', func: this.handle },
{ text: 'Share', func: this.handle },
{ text: 'Rename', func: this.handle },
{ text: 'Delete', func: this.handle },
{ text: 'Favorite', func: this.todo },
{ text: 'Share', func: this.todo },
{ text: 'Rename', func: this.todo },
{ text: 'Delete', func: this.todo },
],
}
},
Expand Down Expand Up @@ -78,6 +78,9 @@ export default Vue.extend({
forceRender() {
this.$emit('forceRender')
},
todo() {
this.$toast.show(this.$t('todo') as string)
},
},
})
</script>
Expand Down

0 comments on commit bf04a16

Please sign in to comment.