mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 07:41:22 +02:00
Remove app-specific menu items
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user