Add layout back to initalState

This commit is contained in:
Kyle Shockey
2017-12-22 22:29:55 -06:00
parent 68c689e491
commit a9ebdb8a7a

View File

@@ -81,6 +81,10 @@ module.exports = function SwaggerUI(opts) {
},
plugins: constructorConfig.presets,
state: deepExtend({
layout: {
layout: constructorConfig.layout,
filter: constructorConfig.filter
},
spec: {
spec: "",
url: constructorConfig.url