mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Include commands with no category
This commit is contained in:
@@ -54,7 +54,10 @@ class CommandLogger extends ScrollView
|
||||
categories = {}
|
||||
for eventName, details of @eventLog
|
||||
categoryStart = eventName.indexOf(':')
|
||||
categoryName = _.humanizeEventName(eventName.substring(0, categoryStart))
|
||||
if categoryStart is -1
|
||||
categoryName = 'Uncategorized'
|
||||
else
|
||||
categoryName = _.humanizeEventName(eventName.substring(0, categoryStart))
|
||||
category = categories[categoryName]
|
||||
unless category
|
||||
category =
|
||||
|
||||
Reference in New Issue
Block a user