mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
Adding some translations
This commit is contained in:
@@ -126,41 +126,3 @@ export const WidgetsEditModal = ({
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
// <Stack>
|
||||
// {items.map(([key, value]) => (
|
||||
// <>
|
||||
// {typeof value === 'boolean' ? (
|
||||
// <Switch
|
||||
// label={t(`descriptor.settings.${key}.label`)}
|
||||
// checked={value}
|
||||
// onChange={(ev) => handleChange(key, ev.currentTarget.checked)}
|
||||
// />
|
||||
// ) : null}
|
||||
// {typeof value === 'string' ? (
|
||||
// <TextInput
|
||||
// label={t(`descriptor.settings.${key}.label`)}
|
||||
// value={value}
|
||||
// onChange={(ev) => handleChange(key, ev.currentTarget.value)}
|
||||
// />
|
||||
// ) : null}
|
||||
// {typeof value === 'object' && Array.isArray(value) ? (
|
||||
// <MultiSelect
|
||||
// data={getMutliselectData(key)}
|
||||
// label={t(`descriptor.settings.${key}.label`)}
|
||||
// value={value}
|
||||
// onChange={(v) => handleChange(key, v)}
|
||||
// />
|
||||
// ) : null}
|
||||
// </>
|
||||
// ))}
|
||||
|
||||
// <Group position="right">
|
||||
// <Button onClick={() => context.closeModal(id)} variant="light">
|
||||
// {t('common:cancel')}
|
||||
// </Button>
|
||||
// <Button onClick={handleSave}>{t('common:save')}</Button>
|
||||
// </Group>
|
||||
// </Stack>
|
||||
// );
|
||||
// };
|
||||
|
||||
Reference in New Issue
Block a user