This commit is contained in:
Saifeddine ALOUI 2023-07-15 23:06:27 +02:00
parent e56af6a86b
commit 7cb99bb8e6
2 changed files with 2 additions and 5 deletions

View File

@ -203,10 +203,7 @@ export default {
this.new_message_content = this.message.content
nextTick(() => {
feather.replace()
this.mdRenderHeight = this.$refs.mdRender.$el.offsetHeight
})
}, methods: {

View File

@ -106,6 +106,7 @@ export const store = createStore({
},
},
actions: {
async refreshConfig({ commit }) {
console.log("Fetching configuration");
try {
@ -160,14 +161,13 @@ export const store = createStore({
}
personalities.sort((a, b) => a.name.localeCompare(b.name))
console.log('personalities',personalities)
commit('setPersonalities', personalities);
console.log("Done loading personalities")
},
refreshMountedPersonalities({ commit }) {
let mountedPersArr = []
console.log(this.state.config.personalities.length)
// console.log('perrs listo',this.state.personalities)
for (let i = 0; i < this.state.config.personalities.length; i++) {
const full_path_item = this.state.config.personalities[i]