diff --git a/frontend/src/api/admin/scheduledTests.ts b/frontend/src/api/admin/scheduledTests.ts index 18e33220..9603e99c 100644 --- a/frontend/src/api/admin/scheduledTests.ts +++ b/frontend/src/api/admin/scheduledTests.ts @@ -20,7 +20,7 @@ export async function listByAccount(accountId: number): Promise( `/admin/accounts/${accountId}/scheduled-test-plans` ) - return data + return data ?? [] } /** @@ -71,7 +71,7 @@ export async function listResults(planId: number, limit?: number): Promise