diff --git a/web/src/components/MountedPersonalities.vue b/web/src/components/MountedPersonalities.vue index 8de44be2..d3d96854 100644 --- a/web/src/components/MountedPersonalities.vue +++ b/web/src/components/MountedPersonalities.vue @@ -13,9 +13,9 @@ @click.stop="toggleShowPersList" title="Click to show more">+{{ mountedPersArr.length - 1 }}
- + :title="'Active personality: '+this.$store.state.mountedPers.name" @click.stop="toggleShowPersList" >
@@ -98,7 +98,7 @@ export default { console.log('personalities') console.log(this.personalities) - let personality_path_infos = store.state.personality_path_infos + let personality_path_infos = store.state.config.personalities[store.state.config.active_personality_id] console.log('personality_path_infos') console.log(personality_path_infos) this.configFile.personality_language = personality_path_infos["personality_language"]; diff --git a/web/src/components/MountedPersonalitiesList.vue b/web/src/components/MountedPersonalitiesList.vue index 151ad090..ff6487e5 100644 --- a/web/src/components/MountedPersonalitiesList.vue +++ b/web/src/components/MountedPersonalitiesList.vue @@ -35,7 +35,7 @@
- item.full_path == this.state.config.personalities[this.state.config.active_personality_id])] }, - async refreshPersonalityPath({ commit }){ - this.state.personality_path_infos = await api_get_req("get_current_personality_path_infos") - } - - } }) async function api_get_req(endpoint) {