fix: empty key, should no do rownumber call

This commit is contained in:
Hein
2026-02-11 10:54:11 +02:00
parent 7c5935c362
commit 580c4b21cd

View File

@@ -205,7 +205,7 @@ function _GlidlerAPIAdaptorForGoLangv2<T = unknown>(props: GlidlerAPIAdaptorForG
const askAPIRowNumber: (key: string) => Promise<null | number> = useCallback( const askAPIRowNumber: (key: string) => Promise<null | number> = useCallback(
async (key: string) => { async (key: string) => {
const colFilters = getState('colFilters'); const colFilters = getState('colFilters');
if (!key) { if (!key || key === '' || !props.url) {
return null; return null;
} }
//console.log('APIAdaptorGoLangv2', { key, props }); //console.log('APIAdaptorGoLangv2', { key, props });