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: recognize latest strapi paths #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rvdkooy
Copy link

@rvdkooy rvdkooy commented Jan 23, 2024

Hi there,

this PR should fix #166

latest version of Strapi uses different paths: /admin/content-manager/collection-types and /admin/content-manager/content-manager/single-types

this PR extends the useSlug hook with backwards compatibility (if you want to run this version in an older version of Strapi)

@rvdkooy rvdkooy changed the title fix recognize latest strapi paths Fix: recognize latest strapi paths Jan 23, 2024
@AHSISSI
Copy link

AHSISSI commented Jan 23, 2024

Hi,
I tested the fix, it resolved the import and export issues in Strapi version v4.17.1

@BasitAli
Copy link

@Baboo7 Can we merge this in please? This is a soft blocker on newer strapi versions. Thank you!

@FlashThePlayer
Copy link

@Baboo7 ping?
Time for a fix approval?
this is blocking anyone who uses your plugin and is running strapi on the latest version 😐

@BasitAli
Copy link

@FlashThePlayer patch-package to apply this patch as a temporary workaround should work for now.

@github0copilot
Copy link

please merge this pr

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.

[BUG] Export Function Exports Full Database Instead of Specific Collections or Single Types.
8 participants