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
[Blockwishlist] Mismatch class naming between the Share.vue component and the share.tpl file #26349
Comments
Hello @a-apare Could you please provide steps to reproduce the issue and your PS version. Thanks! |
I have updated the issue, is this OK for you ? |
Nice catch! Looks legit to me |
Hello all, I re-open this issue, as it can be reproduced in the Release : PrestaShop/blockwishlist#143 Thanks @khouloudbelguith and @hibatallahAouadni for the tests ^^ |
Ok I know, it's only due to the fact that @ghost didn't push assets in his PR |
It will be naturally fixed with others PR, no need to create a new PR for this, close it when you test another PR or the release |
@florine2623 Could you check again with the latest version of |
As discussed with @florine2623 & @NeOMakinG, the bug is fixed. |
Describe the bug
The css class in the Share.vue component (line 117) does not match the class provided in the share.tpl file (line 21). If we modify the css in the vue file, all the changes will affect the display of the modal-create instead of the modal-share.
Expected behavior
Replace &-create by &-share into the Share.vue file to match the class in the share.tpl which is "wishlist-share".
Steps to reproduce
blockwishlist/_dev/front/js/components/Share/Share.vue
), add abackground-color : #FFCC00;
like thisnpm install
thennpm run build
The changes set in the Share.vue file must target only the share modal and not the create modal.
Screenshots:
Add a new List => NOK, the background shouldn't be changed
Share a list => NOK, the background-color should be yellow
Additional context
The text was updated successfully, but these errors were encountered: