mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
e9fe7eec40
no issue - moved tag name and classes into template - updated backing class to native class syntax
10 lines
309 B
JavaScript
10 lines
309 B
JavaScript
import Component from '@glimmer/component';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class GhPostsListItemComponent extends Component {
|
|
@service session;
|
|
|
|
get authorNames() {
|
|
return this.args.post.authors.map(author => author.name || author.email).join(', ');
|
|
}
|
|
}
|