mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
4b646d40ea
refs https://github.com/TryGhost/Team/issues/1358 - added acceptance tests for members settings screen - subscription access management - default post access management - free tier management - fixed `enableLabsFlag()` test helper overwriting existing flag settings when enabling another one - updated API mocks and fixtures - matched product fixtures to default tiers-enabled products - updated product API mocks to include benefit handling
21 lines
626 B
Handlebars
21 lines
626 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}}
|
|
@class="select-members"
|
|
@placeholder="Select a tier"
|
|
as |option|
|
|
>
|
|
<span data-test-visibility-segment-option={{option.name}}>{{option.name}}</span>
|
|
</GhTokenInput>
|
|
|
|
<GhMembersSegmentCount
|
|
@segment={{@segment}}
|
|
@enforcedFilter={{@enforcedCountFilter}}
|
|
@onSegmentCountChange={{@onSegmentCountChange}}
|
|
/>
|