Skip to content

Commit

Permalink
Prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Mar 12, 2024
1 parent d67982d commit 87c7f9b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions gui/helpers/string-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,13 @@ export const enclosureNameSort = (a, b) => {
numberA = 1 * numberA[0];
numberB = 1 * numberB[0];

if (numberA > numberB ) {
return 1;
} else if(numberA < numberB) {
return -1;
if (numberA > numberB) {
return 1;
} else if (numberA < numberB) {
return -1;
} else {
return 0;
return 0;
}

}

// Normal text compare
Expand Down

0 comments on commit 87c7f9b

Please sign in to comment.