From 33469ff87a525366e2b3a7099fada8aea1adb82b Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 13 Aug 2018 22:08:59 +0900 Subject: [PATCH] Hide Unimplemented button --- .../app/desktop/views/components/drive.file.vue | 12 ++++++------ .../app/desktop/views/components/drive.folder.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/client/app/desktop/views/components/drive.file.vue b/src/client/app/desktop/views/components/drive.file.vue index 6541a8f21..55218625c 100644 --- a/src/client/app/desktop/views/components/drive.file.vue +++ b/src/client/app/desktop/views/components/drive.file.vue @@ -99,7 +99,7 @@ export default Vue.extend({ text: '%i18n:@contextmenu.set-as-banner%', action: this.setAsBanner }] - }, { + }, /*{ type: 'nest', text: '%i18n:@contextmenu.open-in-app%', menu: [{ @@ -107,11 +107,11 @@ export default Vue.extend({ text: '%i18n:@contextmenu.add-app%...', action: this.addApp }] - }], { - closed: () => { - this.isContextmenuShowing = false; - } - }); + }*/], { + closed: () => { + this.isContextmenuShowing = false; + } + }); }, onDragstart(e) { diff --git a/src/client/app/desktop/views/components/drive.folder.vue b/src/client/app/desktop/views/components/drive.folder.vue index e8077f9e3..83880fef5 100644 --- a/src/client/app/desktop/views/components/drive.folder.vue +++ b/src/client/app/desktop/views/components/drive.folder.vue @@ -67,16 +67,16 @@ export default Vue.extend({ text: '%i18n:@contextmenu.rename%', icon: '%fa:i-cursor%', action: this.rename - }, null, { + }/*, null, { type: 'item', text: '%i18n:common.delete%', icon: '%fa:R trash-alt%', action: this.deleteFolder - }], { - closed: () => { - this.isContextmenuShowing = false; - } - }); + }*/], { + closed: () => { + this.isContextmenuShowing = false; + } + }); }, onMouseover() {