mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
1306921cac
No issue - Changed the Member details page to be more scalable and flexible, depending on whether creators are using subscriptions, emails, and stats. * Hidden email stats on member detail page when subscriptions are off * Hid subscription box on member details page when Stripe is not connected * Updated copy and layout of member details page * Updated old activity feed styles on member page * Fixed padding issue for empty activity feed * Fixed current and new activity feed * Added Last seen to member details page behind feature flag * Updated lint todo file * Fixed spacing issue in member details
7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
import {helper} from '@ember/component/helper';
|
|
|
|
export function firstName([name = '']) {
|
|
return name.split(' ')[0];
|
|
}
|
|
|
|
export default helper(firstName); |