website: fix directory (#6936)

This commit is contained in:
Evgeny @ SimpleX Chat
2026-05-01 23:03:26 +01:00
committed by GitHub
parent ce0e9c37c1
commit f03584e09a
+2
View File
@@ -35,10 +35,12 @@ async function initDirectory() {
mode = 'live';
comparator = byActiveAtDesc;
btn = liveBtn;
break;
case '#new':
mode = 'new';
comparator = byCreatedAtDesc;
btn = newBtn;
break;
default:
mode = 'top';
comparator = bySortPriority;