mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-07 03:22:21 +03:00
247f24394d
refs https://github.com/TryGhost/Team/issues/943 - adds new columns to member list table based on selected filters in UI - handles dynamic columns in members list with formatted output like for labels - works behind the filtering feature flag
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(',');
|
|
}
|
|
}
|