fix font component showing objects

This commit is contained in:
Henry Jameson 2026-07-30 13:15:53 +03:00
commit 4c288d7095

View file

@ -246,7 +246,7 @@ export const useInterfaceStore = defineStore('interface', {
}
},
setFontsList(value) {
this.localFonts = [...new Set(value.map((font) => font)).values()]
this.localFonts = [...new Set(value.map(({ family }) => family)).values()]
},
queryLocalFonts() {
if (this.localFonts !== null) return