Skip to content

Commit 8c29c79

Browse files
committed
fix database home page for data reader role
1 parent 1ad0fa0 commit 8c29c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tdb-dashboard/src/components/AboutDataProduct.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, health
4343
}, [healthColor])
4444

4545
useEffect(() => {
46-
if(cloneDBName){
46+
if(cloneDBName && cloneDBName.current){
4747
cloneDBName.current.value = dataProduct
4848
}
4949
}, [dataProduct])

0 commit comments

Comments
 (0)