|
|
@ -38,10 +38,7 @@ module.exports = DomainViews.extend({ |
|
|
const ppfx = this.ppfx; |
|
|
const ppfx = this.ppfx; |
|
|
const comp = this.em.getSelected(); |
|
|
const comp = this.em.getSelected(); |
|
|
this.el.className = `${this.className} ${ppfx}one-bg ${ppfx}two-color`; |
|
|
this.el.className = `${this.className} ${ppfx}one-bg ${ppfx}two-color`; |
|
|
|
|
|
this.collection = comp ? comp.get('traits') : []; |
|
|
if (comp) { |
|
|
this.render(); |
|
|
this.collection = comp.get('traits'); |
|
|
|
|
|
this.render(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|