mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-08 04:03:12 +03:00
13 lines
324 B
JavaScript
13 lines
324 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
|
||
|
export default class GhMembersListItemColumnLabs extends Component {
|
||
|
constructor(...args) {
|
||
|
super(...args);
|
||
|
}
|
||
|
|
||
|
get labels() {
|
||
|
const labelData = this.args.member.get('labels') || [];
|
||
|
return labelData.map(label => label.name).join(',');
|
||
|
}
|
||
|
}
|