Commit f396779a by zhaochengxiang

bug fix

parent 97e3472b
......@@ -284,11 +284,11 @@ const AssetTable = (props) => {
}, [timestamp])
useEffect(() => {
if (reference !== AssetRecycleReference && nodeId !== null) {
if (reference !== AssetRecycleReference && nodeId) {
getFilterElementsGroupThenGetDataAssets();
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [ keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId ])
}, [ keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId, nodeType ])
useEffect(() => {
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