Merge pull request #2189 from syuilo/patch-1

Hide unimplemented button
This commit is contained in:
syuilo 2018-08-13 23:53:15 +09:00 committed by GitHub
commit a3cf63823f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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%',
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) {

View File

@ -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() {