This commit is contained in:
pa
2025-11-05 20:58:56 +09:00
committed by Natsumi
parent b849cdbdd3
commit 350ac07bdc

View File

@@ -96,12 +96,12 @@ export const useFavoriteStore = defineStore('Favorite', () => {
});
const favoriteWorlds = computed(() => {
// if (appearanceSettingsStore.sortFavorites) {
return state.favoriteWorlds_;
// }
// const sorted = [...state.favoriteWorlds_];
// sorted.sort(compareByName);
// return sorted;
if (appearanceSettingsStore.sortFavorites) {
return state.favoriteWorlds_;
}
const sorted = [...state.favoriteWorlds_];
sorted.sort(compareByName);
return sorted;
});
const favoriteAvatars = computed(() => {