This commit is contained in:
AndzejsP 2023-06-28 09:49:34 +03:00
parent 715818b9cb
commit e7dee8a58a
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,8 @@ export default {
this.onShowPersList(this) this.onShowPersList(this)
}, },
async constructor() { async constructor() {
this.configFile = await this.api_get_req("get_config").then(()=>{ this.api_get_req("get_config").then((res)=>{
this.configFile =res
this.getPersonalitiesArr().then(() => { this.getPersonalitiesArr().then(() => {
this.getMountedPersonalities() this.getMountedPersonalities()
this.$forceUpdate() this.$forceUpdate()

View File

@ -70,7 +70,8 @@ export default {
}, },
methods: { methods: {
async constructor() { async constructor() {
this.configFile = await this.api_get_req("get_config").then(()=>{ this.api_get_req("get_config").then((res)=>{
this.configFile=res
this.getPersonalitiesArr().then(() => { this.getPersonalitiesArr().then(() => {
this.getMountedPersonalities() this.getMountedPersonalities()
this.$forceUpdate() this.$forceUpdate()