From f3d38987aa7cb8f7ef68836cea487e28581c4bd0 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Fri, 26 Nov 2021 10:45:11 +0100 Subject: [PATCH] fix: request JumpToPath components always as container Refs https://github.com/swagger-api/swagger-editor/issues/2099 --- package-lock.json | 2 +- src/core/components/models.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 978d442beae..8ecf4060837 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "swagger-ui", - "version": "4.1.0", + "version": "4.1.1", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.16.3", diff --git a/src/core/components/models.jsx b/src/core/components/models.jsx index e7a93f8b541..628db5bd52a 100644 --- a/src/core/components/models.jsx +++ b/src/core/components/models.jsx @@ -55,7 +55,7 @@ export default class Models extends Component { const ModelWrapper = getComponent("ModelWrapper") const Collapse = getComponent("Collapse") const ModelCollapse = getComponent("ModelCollapse") - const JumpToPath = getComponent("JumpToPath") + const JumpToPath = getComponent("JumpToPath", true) return