Ghost/ghost/admin/app/components/gh-post-settings-menu/visibility-segment-select.hbs
Rishabh 052a716d5d Removed member count from tier visibility segment
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.
2022-03-09 14:21:16 +05:30

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>