mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-15 01:21:59 -05:00
Fixed code smell 'Unexpected empty arrow function' reported by SonarQube.
This commit is contained in:
1 parent
d2457f2a1d
commit
c98fb887cc
94 files changed
+1023
-1023
No files matched your search
@@ -439,11 +439,11 @@ describe('SchemaView', ()=>{
|
||||
viewHelperProps={{
|
||||
mode: 'create',
|
||||
}}
|
||||
onSave={()=>{}}
|
||||
onClose={()=>{}}
|
||||
onHelp={()=>{}}
|
||||
onEdit={()=>{}}
|
||||
onDataChange={()=>{}}
|
||||
onSave={()=>{/*This is intentional (SonarQube)*/}}
|
||||
onClose={()=>{/*This is intentional (SonarQube)*/}}
|
||||
onHelp={()=>{/*This is intentional (SonarQube)*/}}
|
||||
onEdit={()=>{/*This is intentional (SonarQube)*/}}
|
||||
onDataChange={()=>{/*This is intentional (SonarQube)*/}}
|
||||
confirmOnCloseReset={false}
|
||||
hasSQL={true}
|
||||
getSQLValue={()=>'select 1;'}
|
||||
|
||||
@@ -30,7 +30,7 @@ class TestSubSchema extends BaseUISchema {
|
||||
cell: ()=>({cell: 'select', options: []}),
|
||||
mode: ['properties', 'edit', 'create'],
|
||||
disabled: (state)=>this.isNew(state), deps: ['field5'],
|
||||
depChange: ()=>{}, optionsLoaded: ()=>{},
|
||||
depChange: ()=>{/*This is intentional (SonarQube)*/}, optionsLoaded: ()=>{/*This is intentional (SonarQube)*/},
|
||||
},
|
||||
{
|
||||
id: 'field5', label: 'Field5', type: 'multiline', group: null,
|
||||
|
||||
Reference in new issue
Block a user