mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix missing key attribute in options renderer
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { Stack } from '@mantine/core';
|
import { Stack } from '@mantine/core';
|
||||||
import { UseFormReturnType } from '@mantine/form';
|
import { UseFormReturnType } from '@mantine/form';
|
||||||
import { IconKey, IconKeyOff, IconLock, IconLockOff, IconUser, IconUserOff } from '@tabler/icons';
|
import { IconKey, IconKeyOff } from '@tabler/icons';
|
||||||
import {
|
import {
|
||||||
IntegrationField,
|
IntegrationField,
|
||||||
integrationFieldDefinitions,
|
integrationFieldDefinitions,
|
||||||
@@ -49,6 +49,7 @@ export const IntegrationOptionsRenderer = ({ form }: IntegrationOptionsRendererP
|
|||||||
if (!definition) {
|
if (!definition) {
|
||||||
return (
|
return (
|
||||||
<GenericSecretInput
|
<GenericSecretInput
|
||||||
|
key={`input-${property}`}
|
||||||
label={`${property} (potentionally unmapped)`}
|
label={`${property} (potentionally unmapped)`}
|
||||||
secretIsPresent={isPresent}
|
secretIsPresent={isPresent}
|
||||||
setIcon={IconKey}
|
setIcon={IconKey}
|
||||||
@@ -60,6 +61,7 @@ export const IntegrationOptionsRenderer = ({ form }: IntegrationOptionsRendererP
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<GenericSecretInput
|
<GenericSecretInput
|
||||||
|
key={`input-${definition.label}`}
|
||||||
label={definition.label}
|
label={definition.label}
|
||||||
value=""
|
value=""
|
||||||
secretIsPresent={isPresent}
|
secretIsPresent={isPresent}
|
||||||
|
|||||||
Reference in New Issue
Block a user