commit | e552448c61b9aeec04e8198261047259a50709c7 | [log] [tgz] |
---|---|---|
author | Kasper Nilsson <kaspern@google.com> | Sun Oct 01 13:52:10 2017 +0100 |
committer | Kasper Nilsson <kaspern@google.com> | Sun Oct 01 13:53:01 2017 +0100 |
tree | 42e4887b5f3e82655234899c3efcd7df7481f362 | |
parent | e7edad143c303841ef30ec3e390a616fdb3625ec [diff] |
Remove extra sort in computeAllPatchSets Change-Id: I6b780f368c40e8bf78283d76dc79cf1b587e296e
diff --git a/polygerrit-ui/app/behaviors/gr-patch-set-behavior/gr-patch-set-behavior.html b/polygerrit-ui/app/behaviors/gr-patch-set-behavior/gr-patch-set-behavior.html index 9936730..13c232e 100644 --- a/polygerrit-ui/app/behaviors/gr-patch-set-behavior/gr-patch-set-behavior.html +++ b/polygerrit-ui/app/behaviors/gr-patch-set-behavior/gr-patch-set-behavior.html
@@ -156,7 +156,6 @@ }; }); } - patchNums.sort((a, b) => { return a.num - b.num; }); return Gerrit.PatchSetBehavior._computeWipForPatchSets(change, patchNums); },