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 this.new_message_content = this.message.content
nextTick(() => { nextTick(() => {
feather.replace() feather.replace()
this.mdRenderHeight = this.$refs.mdRender.$el.offsetHeight this.mdRenderHeight = this.$refs.mdRender.$el.offsetHeight
}) })
}, methods: { }, methods: {

View File

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