Closed vannguyenn closed 1 year ago
When I disable a promotion the toast that pops up says "Disable promotion successfully" but it should say "Disabled promotion successfully". Just the verb tense is wrong. Same with Enable/Enabled
I saw the same behavior as Ted, can't Enable a disabled promotion that was once active from the detail view. Was able to enable it again from the Table view.
Verified this issue is resolved:
I was able to enable and disable promotion except I was not able to disable an active promotion. The dropdown only showed "Duplicate"
If I try to enable an archived promotion it does not work but it does not give me any sort of error message
A problem not related to the PR, but when the API is down, the error page has regressed:
I got an infinite spinner.
Here is a problem identified and i'm not sure if I'm doing something wrong, but seems like a bug https://www.loom.com/share/d465ae9788ee4f81a012aa6d2fc74b99
Thanks @tedraykov, that's a bug when disabling a promotion. I have updated the PR
Resolves #131 , #130, #123
Testing Instructions: