diff --git a/src/components/FontChange.vue b/src/components/FontChange.vue index 944385e..7e529bc 100644 --- a/src/components/FontChange.vue +++ b/src/components/FontChange.vue @@ -5,16 +5,19 @@ import { useUserRepoStore } from "../modules/repo/store/userRepo.store" const store = useUserRepoStore() const fontFamilies = computed(() => store.userSettings?.fontFamilies ?? []) +const sortedFontFamilies = computed(() => + [...fontFamilies.value].sort((a, b) => a.localeCompare(b)), +)