🐛 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: {
type: 'wrapper',
properties: {
id: getLowestWrapper()?.id ?? '',
id: getLowestWrapper()?.id ?? 'default',
},
},
shape: {

View File

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