Comments (6)
Hello @alexzaganelli
It works!
Thank you 👍
from strapi-plugin-email-designer.
Thank you @creazy231, we cannot use
typeof deleteConfirmationModal === 'number'
due in MongoDB the id is a string type. What I've actually done is check if!isNil(deleteConfirmationModal) && deleteConfirmationModal !== false
. Should now work in both scenarios.
Awesome, and a nice fix 👍
from strapi-plugin-email-designer.
Thank you!! This is your first issue on this repo
from strapi-plugin-email-designer.
Hey Vivian,
thanks for reporting this issue. For now you can duplicate or delete your templates using EmailTemplates
in your Collection Types. As an alternative you can use my fork at https://github.com/creazy231/strapi-plugin-email-designer of you don't use Mongo.
@alexzaganelli maybe we could use typeof deleteConfirmationModal === 'number'
here https://github.com/alexzaganelli/strapi-plugin-email-designer/blob/main/admin/src/containers/HomePage/index.js#L216 and set the id like setDeleteConfirmationModal(+data.id)
here https://github.com/alexzaganelli/strapi-plugin-email-designer/blob/main/admin/src/containers/HomePage/index.js#L277 to make it work using Mongo?
from strapi-plugin-email-designer.
Thanks for your answer.
I will manage to do it.
Cheers,
🍺
from strapi-plugin-email-designer.
Hi there,
Thank you so much for this plugin!
Nevertheless, I stumbled upon this issue:
I'm unable to delete or even duplicate a template.
And the console is empty.Cheers,
Hi @VivianSolide thank you for interesting.
I've fixed this issue. Would be great if you can upgrade the email-designer and tell us if it now works.
Hey Vivian,
thanks for reporting this issue. For now you can duplicate or delete your templates usingEmailTemplates
in your Collection Types. As an alternative you can use my fork at https://github.com/creazy231/strapi-plugin-email-designer of you don't use Mongo.@alexzaganelli maybe we could use
typeof deleteConfirmationModal === 'number'
here https://github.com/alexzaganelli/strapi-plugin-email-designer/blob/main/admin/src/containers/HomePage/index.js#L216 and set the id likesetDeleteConfirmationModal(+data.id)
here https://github.com/alexzaganelli/strapi-plugin-email-designer/blob/main/admin/src/containers/HomePage/index.js#L277 to make it work using Mongo?
Thank you @creazy231, we cannot use typeof deleteConfirmationModal === 'number'
due in MongoDB the id is a string type. What I've actually done is check if !isNil(deleteConfirmationModal) && deleteConfirmationModal !== false
. Should now work in both scenarios.
from strapi-plugin-email-designer.
Related Issues (20)
- Error when build a project with Strapi v4.5.5 - fortawesome library HOT 2
- Trouble with SendGrid Provider: Sender From Name HOT 4
- Add a Security Policy HOT 5
- error when sending the e-mail template if a variable is used in a "headline"-element HOT 4
- Feature Request: <Script> tag inside Html component HOT 1
- Email address with international (non-english) characters?
- [QUESTION]: Why is this not on the Strapi Marketplace anymore? HOT 10
- Variables looked for in uppercase instead of specified format: SENDERNAME is not defined instead of senderName HOT 5
- Export template and Code version HOT 1
- Change [email protected] to [email protected] HOT 1
- Template keeps disappearing. HOT 2
- export 'NotFound' (inported as 'NotFOund' was not found in '@strapi/helper-plugin' HOT 2
- Even after uninstalling this plugin it keeps showing in the sidebar. How can I remove it completely ? HOT 2
- Merge tags broken? HOT 13
- Multiple Nodemailer transporters HOT 1
- Strapi v4.16.2, cant install with node version 20 LTS HOT 3
- HTML Variable HOT 2
- Email designer is broken with strapi 4.19.0 HOT 8
- Can't upload images in editor. HOT 9
- The `mergeTags` feature doesn't work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-plugin-email-designer.