mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 06:28:33 +00:00
Fixes for getNextRequest in UI
This commit is contained in:
@@ -866,7 +866,7 @@ const registerNetworkIpc = (mainWindow) => {
|
||||
}
|
||||
if (nextRequestName) {
|
||||
const nextRequestIdx = folderRequests.findIndex((request) => request.name === nextRequestName);
|
||||
if (nextRequestIdx > 0) {
|
||||
if (nextRequestIdx >= 0) {
|
||||
currentRequestIndex = nextRequestIdx;
|
||||
} else {
|
||||
console.error("Could not find request with name '" + nextRequestName + "'");
|
||||
|
||||
Reference in New Issue
Block a user