FIX: Topic entrance widget wasn't disappearing

This commit is contained in:
Robin Ward 2014-08-22 18:45:29 -04:00
parent bbb358b356
commit db376d16d3

View file

@ -1,6 +1,6 @@
import CleansUp from 'discourse/mixins/cleans-up';
export default Ember.View.extend({
export default Ember.View.extend(CleansUp, {
elementId: 'topic-entrance',
classNameBindings: ['visible::hidden'],
visible: Em.computed.notEmpty('controller.model'),