mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
💃🏻 Styling credits and Menu enabler
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Group, ActionIcon, Anchor, Text, Stack } from '@mantine/core';
|
import { Group, ActionIcon, Anchor, Text } from '@mantine/core';
|
||||||
import { IconBrandDiscord, IconBrandGithub } from '@tabler/icons';
|
import { IconBrandDiscord, IconBrandGithub } from '@tabler/icons';
|
||||||
import { CURRENT_VERSION } from '../../../data/constants';
|
import { CURRENT_VERSION } from '../../../data/constants';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Checkbox, Group, SimpleGrid, Stack, Title } from '@mantine/core';
|
import { Checkbox, SimpleGrid, Stack, Title } from '@mantine/core';
|
||||||
import * as Modules from '../../modules';
|
import * as Modules from '../../modules';
|
||||||
import { useConfig } from '../../tools/state';
|
import { useConfig } from '../../tools/state';
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ export default function ModuleEnabler(props: any) {
|
|||||||
{modules.map((module) => (
|
{modules.map((module) => (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
key={module.title}
|
key={module.title}
|
||||||
size="sm"
|
size="lg"
|
||||||
checked={config.modules?.[module.title]?.enabled ?? false}
|
checked={config.modules?.[module.title]?.enabled ?? false}
|
||||||
label={`${module.title}`}
|
label={`${module.title}`}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user