diff --git a/data/constants.ts b/data/constants.ts index 9151e0e49..17a217ada 100644 --- a/data/constants.ts +++ b/data/constants.ts @@ -1,2 +1,2 @@ export const REPO_URL = 'ajnart/homarr'; -export const CURRENT_VERSION = 'v0.6.0'; +export const CURRENT_VERSION = 'v0.7.0'; diff --git a/package.json b/package.json index 0eb7931ac..622116f36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homarr", - "version": "0.6.0", + "version": "0.7.0", "description": "Homarr - A homepage for your server.", "repository": { "type": "git", diff --git a/src/components/WidgetsPositionSwitch/WidgetsPositionSwitch.tsx b/src/components/WidgetsPositionSwitch/WidgetsPositionSwitch.tsx index edb341a52..5fe24efe9 100644 --- a/src/components/WidgetsPositionSwitch/WidgetsPositionSwitch.tsx +++ b/src/components/WidgetsPositionSwitch/WidgetsPositionSwitch.tsx @@ -36,7 +36,7 @@ export function WidgetsPositionSwitch() { const toggleWidgetPosition = () => { const position = widgetPosition === 'right' ? 'left' : 'right'; setWidgetPosition(position); - setConfig({ + setConfig({ ...config, settings: { ...config.settings, @@ -48,7 +48,11 @@ export function WidgetsPositionSwitch() { return (
- toggleWidgetPosition()} size="md" /> + toggleWidgetPosition()} + size="md" + />
Position widgets on left
diff --git a/src/components/layout/Widgets.tsx b/src/components/layout/Widgets.tsx index 74a1dcb18..b82f489a9 100644 --- a/src/components/layout/Widgets.tsx +++ b/src/components/layout/Widgets.tsx @@ -6,16 +6,16 @@ import { ModuleWrapper } from '../modules/moduleWrapper'; export default function Widgets(props: any) { const matches = useMediaQuery('(min-width: 800px)'); - return ( - <> - {matches && ( - - - - - - - )} - - ); + return ( + <> + {matches && ( + + + + + + + )} + + ); }