mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 14:06:05 +02:00
wip
This commit is contained in:
@@ -40,6 +40,10 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
methods: {
|
||||
api(endpoint: string, data: { [x: string]: any } = {}, token?) {
|
||||
return this.$store.dispatch('api', { endpoint, data, token });
|
||||
},
|
||||
|
||||
dialog(opts) {
|
||||
this.$store.commit('showDialog', opts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user