mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 10:23:08 +02:00
Fix bug
This commit is contained in:
parent
1092818203
commit
c7456224af
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue