1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 05:25:45 +02:00
This commit is contained in:
syuilo
2020-09-06 00:20:06 +09:00
parent e441ee9d8a
commit 4d68baca0d
17 changed files with 117 additions and 27 deletions

View File

@@ -346,7 +346,7 @@ export default defineComponent({
},
chooseFileFrom(ev) {
this.$root.menu({
this.$store.dispatch('showMenu', {
items: [{
type: 'label',
text: this.$t('attachFile'),
@@ -612,7 +612,7 @@ export default defineComponent({
},
showActions(ev) {
this.$root.menu({
this.$store.dispatch('showMenu', {
items: this.$store.state.postFormActions.map(action => ({
text: action.title,
action: () => {