mirror of
https://github.com/discourse/discourse.git
synced 2025-06-08 14:26:21 +08:00
FIX: Trim the profile text in the user card even if it has multiple lines.
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
export default Ember.Component.extend({
|
||||
_parse: function() {
|
||||
this.$().ellipsis();
|
||||
}.on('didInsertElement'),
|
||||
|
||||
render: function(buffer) {
|
||||
buffer.push(this.get('text'));
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user