Remove app-specific menu items

This commit is contained in:
Gregory Schier
2023-11-21 19:18:40 -08:00
parent 2bcd0e0bbe
commit d0d4324957
5 changed files with 69 additions and 54 deletions

View File

@@ -7,7 +7,8 @@ export function fallbackRequestName(r: HttpRequest | null): string {
return r.name;
}
if (r.url.trim() === '') {
const withoutVariables = r.url.replace(/\$\{\[[^\]]+]}/g, '');
if (withoutVariables.trim() === '') {
return 'New Request';
}