Commit 937a023
committed
frontend/utils: sort getAccountsByKeystore map
The input accounts list seems to be possibly ordered differently in different
places in the code (e.g. sidebar vs manage account page). This ensures that
the list of accounts grouped by keystore always has a consistent order, and also
keeps keystores with same name (e.g. create using different passphrases) to be
close to each other in the list.1 parent 70e8ea4 commit 937a023
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
0 commit comments