mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
🐛 Default wrapper not present when fallback config
This commit is contained in:
@@ -53,7 +53,7 @@ export const AvailableElementTypes = ({
|
|||||||
area: {
|
area: {
|
||||||
type: 'wrapper',
|
type: 'wrapper',
|
||||||
properties: {
|
properties: {
|
||||||
id: getLowestWrapper()?.id ?? '',
|
id: getLowestWrapper()?.id ?? 'default',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
shape: {
|
shape: {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
},
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user