fix(common): exception while clicking request history entries (#4832)
This commit is contained in:
parent
42f90d3f05
commit
ce99617aac
1 changed files with 2 additions and 0 deletions
|
|
@ -318,8 +318,10 @@ const clearHistory = () => {
|
|||
// NOTE: For GQL, the HistoryGraphqlCard component already implements useEntry
|
||||
// (That is not a really good behaviour tho ¯\_(ツ)_/¯)
|
||||
const tabs = useService(RESTTabService)
|
||||
|
||||
const useHistory = (entry: RESTHistoryEntry) => {
|
||||
tabs.createNewTab({
|
||||
type: "request",
|
||||
request: entry.request,
|
||||
isDirty: false,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue