Fixed the colors tab view.

This commit is contained in:
Scott Erickson 2014-04-16 08:44:04 -07:00
parent d5b0a83186
commit b9a978dd13

View file

@ -112,7 +112,7 @@ module.exports = class ColorsTabView extends CocoView
@buttons = buttons
tryToBuild: ->
return unless @thangType.loaded and @thangType.schema().loaded
return unless @thangType.loaded
data = @thangType.get('colorGroups')
data ?= {}
schema = @thangType.schema().properties?.colorGroups