Can't create or delete multiple saved searches in one session
Created by: attfarhan
- Sourcegraph version: Sourcegraph.com
Steps to reproduce:
CREATING:
- Go to http://localhost:3080/search/searches
- Create a new saved search, and save it under user settings.
- Once it's saved, try to create another saved search. Make sure that it is saved to the user settings. When you hit Create, you'll notice that the form gets stuck.
- If you refresh and try to create the saved search, it should succeed.
DELETING: Follow steps 1-5 above, but instead of creating saved searches, try deleting saved searches. You'll notice that you can only delete one saved search without refreshing.
ADDING AND DELETING: Follow steps 1-5 above, but instead of adding a second saved search, try deleting an existing saved search, or deleting the one you just created. You'll notice it fails.
Expected behavior:
You can create another saved search after creating one. You can delete a saved search after deleting another one. You can delete a saved search after creating a new one.
Actual behavior:
The form gets stuck and you're unable to create the second saved search. You're unable to delete saved searches if you've already added or deleted one before in the same session.