We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f280b commit 5960a20Copy full SHA for 5960a20
src/pages/sprints.astro
@@ -16,9 +16,9 @@ if (!entry) {
16
throw new Error('Could not find page entry.');
17
}
18
19
-const sprints = await getCollection("sprints", ({ data }) => {
+const sprints = (await getCollection("sprints", ({ data }) => {
20
return import.meta.env.MODE === "production" ? data.draft !== true : true;
21
-});
+})).sort((a, b) => a.id.localeCompare(b.id));
22
23
---
24
0 commit comments