Skip to content

fix(Sylius): Fix rename directory when there are no media#116

Merged
loic425 merged 2 commits into
jolicode:mainfrom
loic425:fix/rename-directory
May 15, 2026
Merged

fix(Sylius): Fix rename directory when there are no media#116
loic425 merged 2 commits into
jolicode:mainfrom
loic425:fix/rename-directory

Conversation

@loic425
Copy link
Copy Markdown
Contributor

@loic425 loic425 commented May 13, 2026

The rename directory button was not working on empty directory like this:
empty directory

The form always had the "d-none" class.

This PR fixes that issue and the redirection when we are currently on the folder we are editing.

loic425 added 2 commits May 13, 2026 17:17
# Conflicts:
#	src/Bridge/Sylius/public/entrypoints.json
#	src/Bridge/Sylius/public/joli-media-sylius-admin.fda347e3.js
#	src/Bridge/Sylius/public/manifest.json
#	src/Bridge/Sylius/templates/admin/shared/layout/base/scripts.html.twig
@loic425 loic425 force-pushed the fix/rename-directory branch from 2f318df to 374fccc Compare May 13, 2026 15:18
@loic425 loic425 merged commit a2c30c7 into jolicode:main May 15, 2026
6 checks passed
@loic425 loic425 deleted the fix/rename-directory branch May 15, 2026 07:38
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