From 26b3a14a637b19d4590ac804168e5cf736ea3e7f Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 17 Feb 2020 06:23:18 +0900 Subject: [PATCH] Clean up --- src/client/app.vue | 3 --- src/client/components/drive.file.vue | 6 ------ 2 files changed, 9 deletions(-) diff --git a/src/client/app.vue b/src/client/app.vue index 4228cf9b09..d612644ccb 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -384,17 +384,14 @@ export default Vue.extend({ to: '/my/settings', icon: faCog, }, null, ...accountItems, { - type: 'item', icon: faPlus, text: this.$t('addAcount'), action: () => { this.$root.menu({ items: [{ - type: 'item', text: this.$t('existingAcount'), action: () => { this.addAcount(); }, }, { - type: 'item', text: this.$t('createAccount'), action: () => { this.createAccount(); }, }], diff --git a/src/client/components/drive.file.vue b/src/client/components/drive.file.vue index 22fc8c6fb7..0770241fb8 100644 --- a/src/client/components/drive.file.vue +++ b/src/client/components/drive.file.vue @@ -83,17 +83,14 @@ export default Vue.extend({ } else { this.$root.menu({ items: [{ - type: 'item', text: this.$t('rename'), icon: faICursor, action: this.rename }, { - type: 'item', text: this.file.isSensitive ? this.$t('unmarkAsSensitive') : this.$t('markAsSensitive'), icon: this.file.isSensitive ? faEye : faEyeSlash, action: this.toggleSensitive }, null, { - type: 'item', text: this.$t('copyUrl'), icon: faLink, action: this.copyUrl @@ -105,7 +102,6 @@ export default Vue.extend({ icon: faDownload, download: this.file.name }, null, { - type: 'item', text: this.$t('delete'), icon: faTrashAlt, action: this.deleteFile @@ -113,11 +109,9 @@ export default Vue.extend({ type: 'nest', text: this.$t('contextmenu.else-files'), menu: [{ - type: 'item', text: this.$t('contextmenu.set-as-avatar'), action: this.setAsAvatar }, { - type: 'item', text: this.$t('contextmenu.set-as-banner'), action: this.setAsBanner }]