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)
},
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.getMountedPersonalities()
this.$forceUpdate()

View File

@ -70,7 +70,8 @@ export default {
},
methods: {
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.getMountedPersonalities()
this.$forceUpdate()