mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Not duplicating spell docs if they're explicitly granted.
This commit is contained in:
parent
9fe5e277a3
commit
6f2ac13c5a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module.exports = class ItemDetailsView extends CocoView
|
|||
c.stats = _.values(stats.stats)
|
||||
_.last(c.stats).isLast = true if c.stats.length
|
||||
c.props = []
|
||||
stats.props = stats.props.concat _.keys @spellDocs
|
||||
stats.props = _.union stats.props, _.keys @spellDocs
|
||||
codeLanguage = (me.get('aceConfig') ? {}).language or 'python'
|
||||
for prop in stats.props
|
||||
doc = @propDocs[prop] ? @spellDocs[prop] ? {}
|
||||
|
|
Loading…
Reference in a new issue