From 6ae99c9c3e70f0b05b91abcb5a05e5c46512a606 Mon Sep 17 00:00:00 2001 From: Ben Sully Date: Wed, 27 Sep 2023 16:55:22 +0100 Subject: [PATCH] Add 'Enabled' switch for vector services to configuration UI --- src/components/AppConfig/Vector.tsx | 11 +++++++++++ src/components/testIds.ts | 1 + 2 files changed, 12 insertions(+) diff --git a/src/components/AppConfig/Vector.tsx b/src/components/AppConfig/Vector.tsx index 2b23c8f4..0b0d78b6 100644 --- a/src/components/AppConfig/Vector.tsx +++ b/src/components/AppConfig/Vector.tsx @@ -48,6 +48,17 @@ interface Props { export function VectorConfig({ settings, onChange }: Props) { return (
+ + + onChange({ ...settings, enabled: e.currentTarget.checked })} + /> + +