fix(Gridler): improve height and width fallback logic

This commit is contained in:
Hein
2026-02-11 15:11:13 +02:00
parent 483d78c45d
commit cc12c0c3b8
3 changed files with 4 additions and 3 deletions

View File

@@ -244,6 +244,7 @@ export const Computer = React.memo(() => {
return;
}
if (refFirstRun.current > 0) {
getState('refreshCells')?.();
return;
}
refFirstRun.current = 1;

View File

@@ -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.