Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linked events async data issues #633

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

casperboone
Copy link
Member

No description provided.

Copy link

Deploying outsite-nl with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9232d0f
Status: ✅  Deploy successful!
Preview URL: https://c721f9c4.dwhdelft-nl.pages.dev
Branch Preview URL: https://linked-events-fix.dwhdelft-nl.pages.dev

View logs

Copy link

Deploying dwhdelft-nl with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9232d0f
Status: ✅  Deploy successful!
Preview URL: https://bb344036.dwhdelft-nl-u1a.pages.dev
Branch Preview URL: https://linked-events-fix.dwhdelft-nl-u1a.pages.dev

View logs

.map((row) => ({
date: new Date(`${row[`Date`].split('-').reverse().join('/')} 23:59`),
eventName: row[`Event name`],
icon: imageIcons(row[`Icon`]) || imageIcons('bar'),
Copy link
Collaborator

@thomcsmits thomcsmits Dec 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for already loading this image here? Is that because it's easier to directly fall back to 'bar' rather than changing the name value, or is there another reason?

@thomcsmits thomcsmits merged commit 99b6792 into thomcsmits/mixup2 Dec 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants