mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Fix bug
This commit is contained in:
parent
7394adb16f
commit
9ceb1a20fd
@ -158,6 +158,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async invite() {
|
async invite() {
|
||||||
|
const t = this.$t('invited');
|
||||||
const { result: user } = await this.$root.dialog({
|
const { result: user } = await this.$root.dialog({
|
||||||
user: {
|
user: {
|
||||||
local: true
|
local: true
|
||||||
@ -170,7 +171,7 @@ export default Vue.extend({
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$root.dialog({
|
this.$root.dialog({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
text: this.$t('invited')
|
text: t
|
||||||
});
|
});
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.$root.dialog({
|
this.$root.dialog({
|
||||||
|
Loading…
Reference in New Issue
Block a user