fixed ibm onboarding to not disable query when no data is available
This commit is contained in:
parent
a525b07f6f
commit
74b9544515
1 changed files with 3 additions and 6 deletions
|
|
@ -73,12 +73,9 @@ export function IBMOnboarding({
|
||||||
error: modelsError,
|
error: modelsError,
|
||||||
} = useGetIBMModelsQuery(
|
} = useGetIBMModelsQuery(
|
||||||
{
|
{
|
||||||
endpoint: debouncedEndpoint,
|
endpoint: debouncedEndpoint ? debouncedEndpoint : undefined,
|
||||||
apiKey: debouncedApiKey,
|
apiKey: debouncedApiKey ? debouncedApiKey : undefined,
|
||||||
projectId: debouncedProjectId,
|
projectId: debouncedProjectId ? debouncedProjectId : undefined,
|
||||||
},
|
|
||||||
{
|
|
||||||
enabled: !!debouncedEndpoint && !!debouncedApiKey && !!debouncedProjectId,
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue