mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-12 16:24:04 +02:00
wip
This commit is contained in:
@@ -295,7 +295,7 @@ export default defineComponent({
|
||||
|
||||
watch: {
|
||||
lang() {
|
||||
const dialog = this.$root.showDialog({
|
||||
const dialog = this.$store.dispatch('showDialog', {
|
||||
type: 'waiting',
|
||||
iconOnly: true
|
||||
});
|
||||
@@ -306,7 +306,7 @@ export default defineComponent({
|
||||
.then(() => location.reload())
|
||||
.catch(() => {
|
||||
dialog.close();
|
||||
this.$root.showDialog({
|
||||
this.$store.dispatch('showDialog', {
|
||||
type: 'error',
|
||||
iconOnly: true,
|
||||
autoClose: true
|
||||
|
||||
Reference in New Issue
Block a user