🐛 Default wrapper not present when fallback config

This commit is contained in:
Manuel Ruwe
2022-12-31 18:10:01 +01:00
parent 7ced782a2e
commit 2eb5cdfafc
2 changed files with 11 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ export const AvailableElementTypes = ({
area: { area: {
type: 'wrapper', type: 'wrapper',
properties: { properties: {
id: getLowestWrapper()?.id ?? '', id: getLowestWrapper()?.id ?? 'default',
}, },
}, },
shape: { shape: {

View File

@@ -22,13 +22,18 @@ export const getFallbackConfig = (name?: string): BackendConfigType => ({
customization: { customization: {
colors: {}, colors: {},
layout: { layout: {
enabledDocker: true, enabledDocker: false,
enabledLeftSidebar: true, enabledLeftSidebar: false,
enabledPing: true, enabledPing: false,
enabledRightSidebar: true, enabledRightSidebar: false,
enabledSearchbar: true, enabledSearchbar: true,
}, },
}, },
}, },
wrappers: [], wrappers: [
{
id: 'default',
position: 0,
},
],
}); });