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

There's a problem with the Strapi calendar: it's not redirecting to specific IDs when clicking on events on calendar. #44

Closed
vishalmenghare1 opened this issue May 14, 2024 · 1 comment

Comments

@vishalmenghare1
Copy link

vishalmenghare1 commented May 14, 2024

When clicking on any event in the calendar, it should redirect to the events list page, but it should specifically redirect to the page related to that event's ID. The file to modify is located at strapi-calendar/admin/src/pages/index.js, on line 331. The link should be updated from <Link to={/content-manager/collectionType/${settings.collection}/${id}}> to <Link to={/content-manager/collection-types/${settings.collection}/${id}}>. (collectionType => collection-types) Could you please investigate this issue?

(correct URL -http://localhost:1337/admin/content-manager/collection-types/api::event.event/50 - this URL gives an expected output)

@LuisRodriguezLD
Copy link
Contributor

Thanks for reporting.
This has been fixed here #38

I'll push an update to NPM before EOW but for now you can change your package.json to

"@offset-dev/strapi-calendar": "https://github.com/offset-dev/strapi-calendar#develop"

Closing this for now but feel free to reopen if the develop branch doesn't work for you

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

No branches or pull requests

2 participants