diff --git a/packages/console/src/pages/Connectors/components/ConnectorForm/index.tsx b/packages/console/src/pages/Connectors/components/ConnectorForm/index.tsx index 52066e0cb..f62264971 100644 --- a/packages/console/src/pages/Connectors/components/ConnectorForm/index.tsx +++ b/packages/console/src/pages/Connectors/components/ConnectorForm/index.tsx @@ -25,13 +25,13 @@ type Props = { const ConnectorForm = ({ connector, isAllowEditTarget }: Props) => { const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' }); - const { configTemplate, isStandard } = connector; + const { configTemplate, isStandard, logoDark } = connector; const { control, register, formState: { errors }, } = useFormContext(); - const [darkVisible, setDarkVisible] = useState(false); + const [darkVisible, setDarkVisible] = useState(Boolean(logoDark)); const toggleDarkVisible = () => { setDarkVisible((previous) => !previous);