This commit is contained in:
syuilo 2020-02-19 04:12:49 +09:00
parent 804c932f60
commit fbaf5fe355

View File

@ -105,16 +105,6 @@ export default Vue.extend({
text: this.$t('delete'), text: this.$t('delete'),
icon: faTrashAlt, icon: faTrashAlt,
action: this.deleteFile action: this.deleteFile
}, null, {
type: 'nest',
text: this.$t('contextmenu.else-files'),
menu: [{
text: this.$t('contextmenu.set-as-avatar'),
action: this.setAsAvatar
}, {
text: this.$t('contextmenu.set-as-banner'),
action: this.setAsBanner
}]
}], }],
source: ev.currentTarget || ev.target, source: ev.currentTarget || ev.target,
}); });