fix: empty key, should no do rownumber call
This commit is contained in:
@@ -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 });
|
||||||
|
|||||||
Reference in New Issue
Block a user