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

feat(proaws): events as products #177

Merged
merged 6 commits into from
May 13, 2024
Merged

Conversation

joelhooks
Copy link
Collaborator

@joelhooks joelhooks commented May 12, 2024

events

Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
course-builder-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 2:35pm
course-builder-poc ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 2:35pm
pro-aws ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 2:35pm

clicking the event i the product from the list links to a bad place
@@ -189,8 +189,6 @@ export function defineRulesForPurchases(
can('read', 'Content')
}

console.log({ rules })
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i removed a bunch of these, still a lot more

Comment on lines +18 to +19
where: (products, { eq, and }) =>
and(eq(products.status, 1), eq(products.type, 'self-paced')),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

on the /products page I only want to show self-paced and not live

Comment on lines +332 to +335
if (item.type === 'event') {
router.push(`/events/${item.id}/edit`)
return
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

events are special

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.

1 participant