This commit is contained in:
Gregory Schier
2025-01-26 13:13:45 -08:00
committed by GitHub
parent 82b1ad35ff
commit f678593903
99 changed files with 3492 additions and 1583 deletions

View File

@@ -153,9 +153,10 @@ export function CommandPaletteDialog({ onClose }: { onClose: () => void }) {
label: 'Send Request',
onSelect: () => sendRequest(activeRequest.id),
});
for (const a of httpRequestActions) {
for (let i = 0; i < httpRequestActions.length; i++) {
const a = httpRequestActions[i]!;
commands.push({
key: a.key,
key: `http_request_action.${i}`,
label: a.label,
onSelect: () => a.call(activeRequest),
});