mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03: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
9b4cd259b2
commit
be0942d8e2
@ -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…
Reference in New Issue
Block a user