mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🚑 Hotfix build
This commit is contained in:
@@ -55,7 +55,7 @@ const getItems = () => {
|
|||||||
'settings/customization/general',
|
'settings/customization/general',
|
||||||
'settings/customization/color-selector',
|
'settings/customization/color-selector',
|
||||||
]);
|
]);
|
||||||
return [
|
const items = [
|
||||||
{
|
{
|
||||||
id: 'layout',
|
id: 'layout',
|
||||||
image: <IconLayout />,
|
image: <IconLayout />,
|
||||||
@@ -113,7 +113,9 @@ const getItems = () => {
|
|||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
process.env.NODE_ENV === 'development' && {
|
];
|
||||||
|
if (process.env.NODE_ENV === 'development') {
|
||||||
|
items.push({
|
||||||
id: 'dev',
|
id: 'dev',
|
||||||
image: <IconCode />,
|
image: <IconCode />,
|
||||||
label: 'Developer options',
|
label: 'Developer options',
|
||||||
@@ -130,6 +132,7 @@ const getItems = () => {
|
|||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
),
|
),
|
||||||
},
|
});
|
||||||
];
|
}
|
||||||
|
return items;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user