mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed default access setting showing incorrect tiers selection
closes https://github.com/TryGhost/Team/issues/1032 - fixes the selected default access value for specific tier not shown correctly on admin - the value was correctly saved and fetched, but the value shown got overridden by default product selection and only the first product was shown as selected value
This commit is contained in:
parent
0d89d42ad2
commit
1461280167
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ export default class GhMembersSegmentSelect extends Component {
|
|||
});
|
||||
|
||||
options.push(productsGroup);
|
||||
if (this.args.selectDefaultProduct) {
|
||||
if (this.args.selectDefaultProduct && !this.args.segment) {
|
||||
this.args.onChange?.(productsGroup.options[0].segment);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue