mirror of
https://github.com/discourse/discourse.git
synced 2025-06-16 21:22:31 +08:00
FIX: rare user card exception
- trigger the shown logic in user card view - some tweaks to user card show logic
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
export default Ember.Component.extend({
|
||||
_parse: function() {
|
||||
this.$().find('hr').remove();
|
||||
this.$().ellipsis();
|
||||
Ember.run.next(null, () => {
|
||||
this.$().find('hr').remove();
|
||||
this.$().ellipsis();
|
||||
});
|
||||
}.on('didInsertElement'),
|
||||
|
||||
render: function(buffer) {
|
||||
render(buffer) {
|
||||
buffer.push(this.get('text'));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user