fix font selector losing list of local fonts when selecting one

This commit is contained in:
Henry Jameson 2024-07-21 23:45:21 +03:00
commit 4d3d075151
3 changed files with 6 additions and 4 deletions

View file

@ -50,10 +50,11 @@ export default {
return typeof this.modelValue !== 'undefined'
},
localFontsList () {
return this.$store.state.interface.localFonts?.values()
console.log('FONTLIST', this.$store.state.interface.localFonts?.values())
return this.$store.state.interface.localFonts
},
localFontsSize () {
return this.$store.state.interface.localFonts?.size
return this.$store.state.interface.localFonts?.length
}
}
}