From a9ebdb8a7afd540d9f602df6aae0305be1bbc12d Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Fri, 22 Dec 2017 22:29:55 -0600 Subject: [PATCH] Add layout back to initalState --- src/core/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/index.js b/src/core/index.js index 22eea8d7..8a94c97e 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -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