mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fix: fix broken observable after mobx upgrade (#1415)
This commit is contained in:
parent
b848988c34
commit
26c407bd0f
|
@ -8,7 +8,8 @@ import { RedocNormalizedOptions } from '../RedocNormalizedOptions';
|
|||
|
||||
export class CallbackModel {
|
||||
@observable
|
||||
expanded: boolean;
|
||||
expanded: boolean = false;
|
||||
|
||||
name: string;
|
||||
operations: OperationModel[] = [];
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ const DEFAULT_SERIALIZATION: Record<
|
|||
*/
|
||||
export class FieldModel {
|
||||
@observable
|
||||
expanded: boolean | undefined;
|
||||
expanded: boolean | undefined = false;
|
||||
|
||||
schema: SchemaModel;
|
||||
name: string;
|
||||
|
|
|
@ -10,7 +10,7 @@ import { MediaContentModel } from './MediaContent';
|
|||
|
||||
export class ResponseModel {
|
||||
@observable
|
||||
expanded: boolean;
|
||||
expanded: boolean = false;
|
||||
|
||||
content?: MediaContentModel;
|
||||
code: string;
|
||||
|
|
Loading…
Reference in New Issue
Block a user