mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-30 18:26:58 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			357 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			357 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|   | import Ember from 'ember'; | ||
|  | 
 | ||
|  | export default Ember.Component.extend({ | ||
|  |   tagName: 'section', | ||
|  |   classNames: ['dataset-owner-list'], | ||
|  | 
 | ||
|  |   ownersEmailList: Ember.computed('owners', function () { | ||
|  |     // Reduce owner email to a string containing emails, each separated by comma
 | ||
|  |     return this.get('owners').mapBy('email').filter(email => email).join(', '); | ||
|  |   }) | ||
|  | }); |