JS design
Former-commit-id: 46ef678067f79997b35a86931a324e8404d4db98 [formerly 16e52ff387b32d4dcbec9bfe6132ea71192f331a] [formerly 985b6e3050f66c3131f1c62aab9a5dbe025437f2 [formerly fc71509dd0]]
Former-commit-id: acffffe9de1e64b90cc0cc0eb2dff9e367c70d88 [formerly af4f7056c6fb45b96e115b182e7ab2303fc39159]
Former-commit-id: 17d369064f83ebf81d7374b92245c9003f86efbe
This commit is contained in:
1 parent
562a3862e0
commit
deef004513
19 files changed
+46
-64
No files matched your search
@@ -10,7 +10,7 @@ export default {
|
||||
name: 'delete-button',
|
||||
methods: {
|
||||
show: function (event) {
|
||||
this.$store.commit('showDelete', true)
|
||||
this.$store.commit('showPrompt', 'delete')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
this.$store.commit('showDownload', true)
|
||||
this.$store.commit('showPrompt', 'download')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<button title="Info" aria-label="Info" class="action" @click="$store.commit('showInfo', true)">
|
||||
<button title="Info" aria-label="Info" class="action" @click="this.$store.commit('showPrompt', 'info')">
|
||||
<i class="material-icons">info</i>
|
||||
<span>Info</span>
|
||||
</button>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<button @click="$store.commit('showMove', true)" aria-label="Move" title="Move" class="action">
|
||||
<button @click="this.$store.commit('showPrompt', 'move')" aria-label="Move" title="Move" class="action">
|
||||
<i class="material-icons">forward</i>
|
||||
<span>Move file</span>
|
||||
</button>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<button @click="$store.commit('showRename', true)" aria-label="Rename" title="Rename" class="action">
|
||||
<button @click="this.$store.commit('showPrompt', 'rename')" aria-label="Rename" title="Rename" class="action">
|
||||
<i class="material-icons">mode_edit</i>
|
||||
<span>Rename</span>
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user