mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
0caa539330
refs https://github.com/TryGhost/Team/issues/581 requires https://github.com/TryGhost/Ghost/pull/12932 - added segment option and select to default newsletter recipients setting - updated segment selector to fetch labels/products and show as options - updated segment selector and count component to call an action when count changes so we can use it in the email confirmation modal - removed usage and mapping of older `'none'`, `'all'`, `'free'`, and `'paid'` email recipient filter values
18 lines
482 B
Handlebars
18 lines
482 B
Handlebars
<GhTokenInput
|
|
@options={{this.options}}
|
|
@selected={{this.selectedOptions}}
|
|
@disabled={{or @disabled this.fetchOptionsTask.isRunning}}
|
|
@optionsComponent="power-select/options"
|
|
@allowCreation={{false}}
|
|
@renderInPlace={{this.renderInPlace}}
|
|
@onChange={{this.setSegment}}
|
|
@disabled={{@disabled}}
|
|
as |option|
|
|
>
|
|
{{option.name}}
|
|
</GhTokenInput>
|
|
|
|
<GhMembersSegmentCount
|
|
@segment={{@segment}}
|
|
@onSegmentCountChange={{@onSegmentCountChange}}
|
|
/> |