Skip to content

Commit ba08b6a

Browse files
authored
Merge pull request #16 from NetLogo/feature-logging-download-data
Download Page Updated Donation Section
2 parents 1c9a3b9 + 143237a commit ba08b6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/download.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ import DonationSection from "../components/download/donation-section.tsx";
77
const api = new NetLogoApi();
88
99
const pageData = await api.getDownloadPageData()
10-
const randomIndex = Math.floor(Math.random() * pageData.donation_data.length);
1110
1211
---
1312

1413
<Layout show_footer_buttons={false}>
1514
<DownloadSection downloadData = {pageData["netlogo_versions"]} client:load/>
16-
<DonationSection donationData = {pageData["donation_data"][randomIndex]} client:load/>
15+
<DonationSection donationArray = {pageData["donation_data"]} client:load/>
1716
</Layout>

0 commit comments

Comments
 (0)