File tree 4 files changed +20
-16
lines changed
4 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 1
1
export const REPO_URL = 'ajnart/homarr' ;
2
- export const CURRENT_VERSION = 'v0.6 .0' ;
2
+ export const CURRENT_VERSION = 'v0.7 .0' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " homarr" ,
3
- "version" : " 0.6 .0" ,
3
+ "version" : " 0.7 .0" ,
4
4
"description" : " Homarr - A homepage for your server." ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export function WidgetsPositionSwitch() {
36
36
const toggleWidgetPosition = ( ) => {
37
37
const position = widgetPosition === 'right' ? 'left' : 'right' ;
38
38
setWidgetPosition ( position ) ;
39
- setConfig ( {
39
+ setConfig ( {
40
40
...config ,
41
41
settings : {
42
42
...config . settings ,
@@ -48,7 +48,11 @@ export function WidgetsPositionSwitch() {
48
48
return (
49
49
< Group >
50
50
< div className = { classes . root } >
51
- < Switch checked = { widgetPosition === 'left' } onChange = { ( ) => toggleWidgetPosition ( ) } size = "md" />
51
+ < Switch
52
+ checked = { widgetPosition === 'left' }
53
+ onChange = { ( ) => toggleWidgetPosition ( ) }
54
+ size = "md"
55
+ />
52
56
</ div >
53
57
Position widgets on left
54
58
</ Group >
Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ import { ModuleWrapper } from '../modules/moduleWrapper';
6
6
export default function Widgets ( props : any ) {
7
7
const matches = useMediaQuery ( '(min-width: 800px)' ) ;
8
8
9
- return (
10
- < >
11
- { matches && (
12
- < Group my = "sm" grow direction = "column" style = { { width : 300 } } >
13
- < ModuleWrapper module = { CalendarModule } />
14
- < ModuleWrapper module = { TotalDownloadsModule } />
15
- < ModuleWrapper module = { WeatherModule } />
16
- < ModuleWrapper module = { DateModule } />
17
- </ Group >
18
- ) }
19
- </ >
20
- ) ;
9
+ return (
10
+ < >
11
+ { matches && (
12
+ < Group my = "sm" grow direction = "column" style = { { width : 300 } } >
13
+ < ModuleWrapper module = { CalendarModule } />
14
+ < ModuleWrapper module = { TotalDownloadsModule } />
15
+ < ModuleWrapper module = { WeatherModule } />
16
+ < ModuleWrapper module = { DateModule } />
17
+ </ Group >
18
+ ) }
19
+ </ >
20
+ ) ;
21
21
}
You can’t perform that action at this time.
0 commit comments