Add layout back to initalState
This commit is contained in:
@@ -81,6 +81,10 @@ module.exports = function SwaggerUI(opts) {
|
|||||||
},
|
},
|
||||||
plugins: constructorConfig.presets,
|
plugins: constructorConfig.presets,
|
||||||
state: deepExtend({
|
state: deepExtend({
|
||||||
|
layout: {
|
||||||
|
layout: constructorConfig.layout,
|
||||||
|
filter: constructorConfig.filter
|
||||||
|
},
|
||||||
spec: {
|
spec: {
|
||||||
spec: "",
|
spec: "",
|
||||||
url: constructorConfig.url
|
url: constructorConfig.url
|
||||||
|
|||||||
Reference in New Issue
Block a user