mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Re-enable rule no-else-return (#10861)
This commit is contained in:
committed by
GitHub
parent
76275ec410
commit
2d8f4e3aaf
@@ -238,7 +238,8 @@ class TableElement extends React.PureComponent {
|
||||
const colB = b.name.toUpperCase();
|
||||
if (colA < colB) {
|
||||
return -1;
|
||||
} else if (colA > colB) {
|
||||
}
|
||||
if (colA > colB) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user