admin icon indicating copy to clipboard operation
admin copied to clipboard

Show Toaster when editing Product in PriceList

Open olivermrbl opened this issue 3 years ago • 2 comments

Goal We want to display a Toaster when editing prices for a Product in a PriceList

Steps to reproduce:

  1. Create PriceList
  2. Edit Prices on a single product
  3. Save and submit

olivermrbl avatar May 30 '22 08:05 olivermrbl

This requires the use of the useNotification hook when a mutation is successful. The resulting function from the useNotification hooks is invoked as such: notification("Success", "Price overrides updated", "success").

relevant file: src/domain/pricing/details/sections/prices-details/edit-prices-overrides/index.tsx

Drop a comment if you want to pick up this ticket

pKorsholm avatar Aug 03 '22 06:08 pKorsholm

@pKorsholm I want to pick this up

djgovani avatar Aug 10 '22 12:08 djgovani