1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-18 21:15:31 +02:00
This commit is contained in:
syuilo
2020-09-05 13:09:34 +09:00
parent 138c9868e8
commit deb3df1536
67 changed files with 229 additions and 229 deletions

View File

@@ -128,7 +128,7 @@ export default defineComponent({
},
rename() {
this.$root.showDialog({
this.$store.dispatch('showDialog', {
title: this.$t('renameFile'),
input: {
placeholder: this.$t('inputNewFileName'),
@@ -153,7 +153,7 @@ export default defineComponent({
copyUrl() {
copyToClipboard(this.file.url);
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'success',
iconOnly: true, autoClose: true
});
@@ -172,7 +172,7 @@ export default defineComponent({
},
async deleteFile() {
const { canceled } = await this.$root.showDialog({
const { canceled } = await this.$store.dispatch('showDialog', {
type: 'warning',
text: this.$t('driveFileDeleteConfirm', { name: this.file.name }),
showCancelButton: true