fix - reload references

This commit is contained in:
Jan Prochazka 2021-01-18 17:46:11 +01:00
parent 97a4cd1653
commit 72619a9902

View File

@ -145,8 +145,8 @@ export default function SqlFormView(props) {
};
React.useEffect(() => {
if (onReferenceSourceChanged && rowData) onReferenceSourceChanged([rowData]);
}, [rowData, refReloadToken]);
if (onReferenceSourceChanged && rowData) onReferenceSourceChanged([rowData], loadedTime);
}, [onReferenceSourceChanged, rowData, refReloadToken]);
React.useEffect(() => {
if (!formDisplay.isLoadedCorrectly) return;