Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
fix(dashboard): replace non-ASCII dashes with hyphens
Yudhi Armyndharisfc9b1e4426b5
diff --git a/dashboard/src/components/chats/NewChatPanel.tsx b/dashboard/src/components/chats/NewChatPanel.tsxindex 091603970..b74a98a77 100644--- a/dashboard/src/components/chats/NewChatPanel.tsx+++ b/dashboard/src/components/chats/NewChatPanel.tsx@@ -31,7 +31,7 @@ const GROUP_NAME_MAX_LENGTH = 100;/*** Digits of a number typed with its country code, or null. The engine resolves digits as they are, so* a national "0170…" would silently reach a different country; only "+49…", "0049…" or bare- * international digits are taken. 7–15 digits covers E.164.+ * international digits are taken. 7-15 digits covers E.164.*/const toInternationalDigits = (input: string): string | null => {const trimmed = input.trim();diff --git a/dashboard/src/pages/NumberChecker.tsx b/dashboard/src/pages/NumberChecker.tsxindex 68e727580..7099cfd7a 100644--- a/dashboard/src/pages/NumberChecker.tsx+++ b/dashboard/src/pages/NumberChecker.tsx@@ -653,7 +653,7 @@ export function NumberChecker() {)}</td><td style={{ fontFamily: 'monospace', fontSize: '0.8125rem' }}>- <bdi dir="ltr">{item.whatsappId || '—'}</bdi>+ <bdi dir="ltr">{item.whatsappId || '-'}</bdi></td><td style={{ color: 'var(--text-muted)' }}><bdi>{item.timestamp}</bdi>@@ -945,7 +945,7 @@ export function NumberChecker() {)}</td><td style={{ fontFamily: 'monospace', fontSize: '0.8125rem' }}>- <bdi dir="ltr">{item.whatsappId || '—'}</bdi>+ <bdi dir="ltr">{item.whatsappId || '-'}</bdi></td><td style={{ color: 'var(--text-muted)' }}><bdi>{item.timestamp}</bdi>