fix: loadTeam in EditTeam
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Dominik Pschenitschni 2021-10-31 14:04:44 +01:00
parent a515b0c3a4
commit a6dc764dce
Signed by: dpschen
GPG Key ID: B257AC0149F43A77

View File

@ -163,6 +163,7 @@
<script>
import AsyncEditor from '@/components/input/AsyncEditor'
import {mapState} from 'vuex'
import { i18n } from '@/i18n'
import TeamService from '../../services/team'
import TeamModel from '../../models/team'
@ -224,7 +225,7 @@ export default {
async loadTeam() {
this.team = new TeamModel({id: this.teamId})
this.team = await this.teamService.get(this.team)
this.title = this.$t('team.edit.title', {team: this.team.name})
this.title = i18n.global.t('team.edit.title', {team: this.team.name})
this.setTitle(this.title)
},