At the GameDetail Component-level, determine whether the user is in a GameNight. Maybe parse url string for game-night and grab the nightId so that you can pass it into the update method.
Add a new button for removing the Game from this game night. Do not confirm the action (it's easy to add it back in). Navigate the user back to the game night list after sending the action. Check your store methods to make sure everything updates.
Make sure on the server, it searches for an existing GameNightGame before creating a new one.
At the GameDetail Component-level, determine whether the user is in a GameNight. Maybe parse url string for
game-night
and grab the nightId so that you can pass it into the update method.Add a new button for removing the Game from this game night. Do not confirm the action (it's easy to add it back in). Navigate the user back to the game night list after sending the action. Check your store methods to make sure everything updates.
Make sure on the server, it searches for an existing GameNightGame before creating a new one.