mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
fix: one-of dropdown not switching
This commit is contained in:
parent
bcf39dc2cf
commit
0f1b6a622e
|
@ -14,6 +14,8 @@ export interface OneOfButtonProps {
|
||||||
idx: number;
|
idx: number;
|
||||||
schema: SchemaModel;
|
schema: SchemaModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@observer
|
||||||
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
|
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
|
||||||
render() {
|
render() {
|
||||||
const { idx, schema, subSchema } = this.props;
|
const { idx, schema, subSchema } = this.props;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user