grandnode / grandnode2

Open-Source eCommerce Platform on .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB & Vue.js
https://grandnode.com/
GNU General Public License v3.0
1.06k stars 435 forks source link

Stopped allowed to add same requirement multiple times on a discount #412

Open ismaelmiah opened 1 year ago

ismaelmiah commented 1 year ago

I think a discount doesn't have the same requirement multiple times. If the admin need to add/remove items on that requirement then the UI should look like that, so the admin can easily see the product name along with a cross sign to remove it from the list.

The current UI doesn't look good and if we add multiple requirements/rules on a discount then the UI breaks.