mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
ec925a60b0
no issue - moved tag name and classes into template - updated backing class to native class syntax
11 lines
309 B
JavaScript
11 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(', ');
|
|
}
|
|
}
|