mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
052a716d5d
The segment select UI for restricting post access to specific tier also showed a member count for selected tiers, which was not needed as that count is dynamic and not relevant for setting access level.
15 lines
476 B
Handlebars
15 lines
476 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>
|