fix: empty key, should no do rownumber call
This commit is contained in:
1 parent
7c5935c362
commit
580c4b21cd
1 file changed
+1
-1
@@ -205,7 +205,7 @@ function _GlidlerAPIAdaptorForGoLangv2<T = unknown>(props: GlidlerAPIAdaptorForG
|
||||
const askAPIRowNumber: (key: string) => Promise<null | number> = useCallback(
|
||||
async (key: string) => {
|
||||
const colFilters = getState('colFilters');
|
||||
if (!key) {
|
||||
if (!key || key === '' || !props.url) {
|
||||
return null;
|
||||
}
|
||||
//console.log('APIAdaptorGoLangv2', { key, props });
|
||||
|
||||
Reference in new issue
Block a user