Hide Unimplemented button

This commit is contained in:
Aya Morisawa 2018-08-13 22:08:59 +09:00
parent 01f28b21dd
commit 33469ff87a
2 changed files with 12 additions and 12 deletions

View file

@ -99,7 +99,7 @@ export default Vue.extend({
text: '%i18n:@contextmenu.set-as-banner%', text: '%i18n:@contextmenu.set-as-banner%',
action: this.setAsBanner action: this.setAsBanner
}] }]
}, { }, /*{
type: 'nest', type: 'nest',
text: '%i18n:@contextmenu.open-in-app%', text: '%i18n:@contextmenu.open-in-app%',
menu: [{ menu: [{
@ -107,11 +107,11 @@ export default Vue.extend({
text: '%i18n:@contextmenu.add-app%...', text: '%i18n:@contextmenu.add-app%...',
action: this.addApp action: this.addApp
}] }]
}], { }*/], {
closed: () => { closed: () => {
this.isContextmenuShowing = false; this.isContextmenuShowing = false;
} }
}); });
}, },
onDragstart(e) { onDragstart(e) {

View file

@ -67,16 +67,16 @@ export default Vue.extend({
text: '%i18n:@contextmenu.rename%', text: '%i18n:@contextmenu.rename%',
icon: '%fa:i-cursor%', icon: '%fa:i-cursor%',
action: this.rename action: this.rename
}, null, { }/*, null, {
type: 'item', type: 'item',
text: '%i18n:common.delete%', text: '%i18n:common.delete%',
icon: '%fa:R trash-alt%', icon: '%fa:R trash-alt%',
action: this.deleteFolder action: this.deleteFolder
}], { }*/], {
closed: () => { closed: () => {
this.isContextmenuShowing = false; this.isContextmenuShowing = false;
} }
}); });
}, },
onMouseover() { onMouseover() {