Remove app-specific menu items

This commit is contained in:
Gregory Schier
2023-11-21 19:18:40 -08:00
parent dafaa5940a
commit 2c7bf29ec6
4 changed files with 68 additions and 52 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';
}