fix(Gridler): improve height and width fallback logic
This commit is contained in:
@@ -244,6 +244,7 @@ export const Computer = React.memo(() => {
|
||||
return;
|
||||
}
|
||||
if (refFirstRun.current > 0) {
|
||||
getState('refreshCells')?.();
|
||||
return;
|
||||
}
|
||||
refFirstRun.current = 1;
|
||||
|
||||
@@ -267,7 +267,7 @@ function _GlidlerAPIAdaptorForGoLangv2<T = unknown>(props: GlidlerAPIAdaptorForG
|
||||
}
|
||||
return [];
|
||||
},
|
||||
[props.url, props.authtoken, props.filter, props.options, getState, addError]
|
||||
[props.url, props.authtoken, props.filter, JSON.stringify(props.options), getState, addError]
|
||||
);
|
||||
|
||||
//Reset the function in the store.
|
||||
|
||||
Reference in New Issue
Block a user