mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
0642a8b3cc
refs https://github.com/TryGhost/Team/issues/496 refs https://github.com/TryGhost/Team/issues/581 - added ability to pass an enforced filter to the segment count component - used the enforced filter to add `subscribed:true` to segment counts where we're counting the number of members that would receive an email
19 lines
527 B
Handlebars
19 lines
527 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}}
|
|
@enforcedFilter={{@enforcedCountFilter}}
|
|
@onSegmentCountChange={{@onSegmentCountChange}}
|
|
/> |