mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
ab8334dae2
no issue - switched to using a glimmer component - cleaned up property access in the template - used helpers for basic display logic in the template - removed unused computed properties, aliases, and injected services
9 lines
243 B
JavaScript
9 lines
243 B
JavaScript
import Component from '@glimmer/component';
|
|
import moment from 'moment';
|
|
|
|
export default class GhMembersListItemComponent extends Component {
|
|
get memberSince() {
|
|
return moment(this.args.member.createdAtUTC).from(moment());
|
|
}
|
|
}
|