Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
History, UI: use id of displayed history in delete
- Refactor `delete current` to `delete` and require an id arg. - Update history options menu to pass the id of the displayed/ current history to the above delete controller endpoint. This means that the current history panel will delete the history that's displayed (instead of potentially a different history that's been set to the current history on the server side). Note: this isn't an ideal refactoring but should solve the below issue temporarily until we move more of the session state out of API. Closes #894
- Loading branch information
1 parent
5e49868
commit 2b4a855
Showing
8 changed files
with
72 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.