Commit f396779a by zhaochengxiang

bug fix

parent 97e3472b
...@@ -284,11 +284,11 @@ const AssetTable = (props) => { ...@@ -284,11 +284,11 @@ const AssetTable = (props) => {
}, [timestamp]) }, [timestamp])
useEffect(() => { useEffect(() => {
if (reference !== AssetRecycleReference && nodeId !== null) { if (reference !== AssetRecycleReference && nodeId) {
getFilterElementsGroupThenGetDataAssets(); getFilterElementsGroupThenGetDataAssets();
} }
//eslint-disable-next-line react-hooks/exhaustive-deps //eslint-disable-next-line react-hooks/exhaustive-deps
}, [ keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId ]) }, [ keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId, nodeType ])
useEffect(() => { useEffect(() => {
if (reference === AssetRecycleReference) { if (reference === AssetRecycleReference) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment