shweta-kumaran / CastNXTfall24

0 stars 1 forks source link

Unselecting a talent from event keeps them selected #16

Open JSalazar026 opened 2 weeks ago

JSalazar026 commented 2 weeks ago

As a producer, you are able to view the details of an event that you have created, and perform actions such as select and unselecting talents. When a talent is selected, they show up in the selected users tab. When a talent is selected, a button is shown that allows you to remove a talent from the stack. For a talent that currently shows up in the selected talent, we can unselect them, so their form submission looks like the below

Screenshot 2024-10-09 at 10 31 54 AM

Navigating to the selected users tab immediately afterwards shows that the talent has been successfully unselected.

Screenshot 2024-10-09 at 10 33 20 AM

However, if you navigate away to an unrelated view, say the all events page, and then go back to the event details and the selected talents, the unselected talent still appears there. The unselecting talent option is only temporary and doesn't persist for future requests. This needs to be fixed so that once a talent is unselected, they remain unselected unless selected again.

Screenshot 2024-10-09 at 10 31 40 AM