mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed SonarQube issues.
This commit is contained in:
committed by
Akshay Joshi
parent
ad862f4084
commit
af6ff20020
@@ -505,7 +505,7 @@ function SchemaDialogView({
|
||||
if(!getInitData) {
|
||||
throw new Error('getInitData must be passed for edit');
|
||||
}
|
||||
getInitData && getInitData().then((data)=>{firstEleRef.current;
|
||||
getInitData && getInitData().then((data)=>{
|
||||
data = data || {};
|
||||
/* Set the origData to incoming data, useful for comparing and reset */
|
||||
schema.origData = prepareData(data || {});
|
||||
|
||||
@@ -132,7 +132,6 @@ export class ManageTreeNodes {
|
||||
}
|
||||
}
|
||||
throw new Error("Node Load Error...");
|
||||
return [];
|
||||
}
|
||||
|
||||
let treeData = null;
|
||||
|
||||
Reference in New Issue
Block a user