Pass tag names to tagsSorter instead of taggedOperations values

This commit is contained in:
Kyle Shockey
2017-07-13 21:02:37 -07:00
parent 1cdc4691f7
commit e6c8eb3c61
2 changed files with 8 additions and 6 deletions

View File

@@ -576,7 +576,7 @@ export const sorters = {
method: (a, b) => a.get("method").localeCompare(b.get("method"))
},
tagsSorter: {
alpha: (a, b) => a.getIn([0, "operation", "tags", 0]).localeCompare(b.getIn([0, "operation", "tags", 0]))
alpha: (a, b) => a.localeCompare(b)
}
}