From 8f59606867ea97490407dee187b45a6b3ac2c86d Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Fri, 6 Mar 2026 22:22:36 -0800 Subject: [PATCH] Fix library name --- frontend/src/components/settings/SettingsFanoutSection.tsx | 4 ++-- frontend/src/test/fanoutSection.test.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/settings/SettingsFanoutSection.tsx b/frontend/src/components/settings/SettingsFanoutSection.tsx index 38041d3..d64af08 100644 --- a/frontend/src/components/settings/SettingsFanoutSection.tsx +++ b/frontend/src/components/settings/SettingsFanoutSection.tsx @@ -14,7 +14,7 @@ const BotCodeEditor = lazy(() => const TYPE_LABELS: Record = { mqtt_private: 'Private MQTT', - mqtt_community: 'meshtomqtt/LetsMesh/MeshRank', + mqtt_community: 'meshcoretomqtt/LetsMesh/MeshRank', bot: 'Bot', webhook: 'Webhook', apprise: 'Apprise', @@ -22,7 +22,7 @@ const TYPE_LABELS: Record = { const TYPE_OPTIONS = [ { value: 'mqtt_private', label: 'Private MQTT' }, - { value: 'mqtt_community', label: 'meshtomqtt/LetsMesh/MeshRank' }, + { value: 'mqtt_community', label: 'meshcoretomqtt/LetsMesh/MeshRank' }, { value: 'bot', label: 'Bot' }, { value: 'webhook', label: 'Webhook' }, { value: 'apprise', label: 'Apprise' }, diff --git a/frontend/src/test/fanoutSection.test.tsx b/frontend/src/test/fanoutSection.test.tsx index 41690dc..eb219fd 100644 --- a/frontend/src/test/fanoutSection.test.tsx +++ b/frontend/src/test/fanoutSection.test.tsx @@ -85,7 +85,7 @@ describe('SettingsFanoutSection', () => { expect(screen.getByRole('menuitem', { name: 'Private MQTT' })).toBeInTheDocument(); expect( - screen.getByRole('menuitem', { name: 'meshtomqtt/LetsMesh/MeshRank' }) + screen.getByRole('menuitem', { name: 'meshcoretomqtt/LetsMesh/MeshRank' }) ).toBeInTheDocument(); expect(screen.getByRole('menuitem', { name: 'Webhook' })).toBeInTheDocument(); expect(screen.getByRole('menuitem', { name: 'Apprise' })).toBeInTheDocument();