릴리스: v1.4.42 홈 템플릿 정렬 및 클릭 배치 지원

This commit is contained in:
2026-04-03 10:44:37 +09:00
parent bf726b6161
commit 04e9a0420a
6 changed files with 159 additions and 6 deletions

View File

@@ -30,6 +30,9 @@ const templates = computed(() => {
const rankA = a.displayRank == null ? Number.MAX_SAFE_INTEGER : a.displayRank
const rankB = b.displayRank == null ? Number.MAX_SAFE_INTEGER : b.displayRank
if (rankA !== rankB) return rankA - rankB
if (Number(a.createdAt || 0) !== Number(b.createdAt || 0)) {
return Number(b.createdAt || 0) - Number(a.createdAt || 0)
}
return (a.name || '').localeCompare(b.name || '', 'ko')
})
})