mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following code smells reported by SonarQube:
1) Remove this redundant jump. 2) Remove this commented out code. 3) Variables should not be shadowed.
This commit is contained in:
@@ -860,7 +860,7 @@ export default class SchemaDiffUI {
|
||||
if (index === -1) self.sel_filters.push(filter);
|
||||
} else {
|
||||
$(filter_class).addClass('visibility-hidden');
|
||||
if(index !== -1 ) delete self.sel_filters[index];
|
||||
if(index !== -1 ) self.sel_filters.splice(index, 1);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user