mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 14:45:38 +02:00
wip
This commit is contained in:
@@ -127,7 +127,7 @@ export default defineComponent({
|
||||
search() {
|
||||
if (this.searching) return;
|
||||
|
||||
this.$root.showDialog({
|
||||
this.$store.dispatch('showDialog', {
|
||||
title: this.$t('search'),
|
||||
input: true
|
||||
}).then(async ({ canceled, result: query }) => {
|
||||
@@ -277,7 +277,7 @@ export default defineComponent({
|
||||
async addAcount() {
|
||||
this.$root.new(await import('./signin-dialog.vue')).$once('login', res => {
|
||||
this.$store.dispatch('addAcount', res);
|
||||
this.$root.showDialog({
|
||||
this.$store.dispatch('showDialog', {
|
||||
type: 'success',
|
||||
iconOnly: true, autoClose: true
|
||||
});
|
||||
@@ -297,7 +297,7 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
switchAccountWithToken(token: string) {
|
||||
this.$root.showDialog({
|
||||
this.$store.dispatch('showDialog', {
|
||||
type: 'waiting',
|
||||
iconOnly: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user