1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-12 16:24:04 +02:00
This commit is contained in:
syuilo
2020-09-05 13:09:34 +09:00
parent 138c9868e8
commit deb3df1536
67 changed files with 229 additions and 229 deletions

View File

@@ -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