When creating a product with UAE currency AED set in the configuration,
the strapi plugin dashbard is unable to map over the products.
To Repoduce
STRAPI VERSION: v4.3.6
NODE VERSION: v16.14.0
In the stripe plugin configuration select AED currency
Create a product and view plugin dashboard
Expected Behaviour
Dashboard with white screen and in console the following error..
[request].d0f30510.chunk.js:1381 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'symbol')
at getProductPrice ([request].d0f30510.chunk.js:1381:32)
at [request].d0f30510.chunk.js:1474:6
at Array.map (<anonymous>)
at ProductTable ([request].d0f30510.chunk.js:1464:238)
at Ch (main.9fcd4a78.js:97497:137)
at li (main.9fcd4a78.js:97520:154)
at ck (main.9fcd4a78.js:97609:343)
at bk (main.9fcd4a78.js:97590:347)
at ak (main.9fcd4a78.js:97590:278)
at Tj (main.9fcd4a78.js:97590:138)
Other Behaviour
Products are being created in Stripe as well as can be queried from the endpoint.
Description
When creating a product with UAE currency
AED
set in the configuration, the strapi plugin dashbard is unable to map over the products.To Repoduce
STRAPI VERSION: v4.3.6 NODE VERSION: v16.14.0
In the stripe plugin configuration select
AED currency
Create a product and view plugin dashboardExpected Behaviour
Dashboard with white screen and in console the following error..
Other Behaviour
Products are being created in Stripe as well as can be queried from the endpoint.
Reponse