User added info@info.mail-slotoro.com and it landed in Eigene Domains as type=web instead of in Eigene Mails as type=mail_domain. Bug trace: 1. AddDomainSheet detects kind='mail' from the @ in the user's input 2. mailDomain() strips the local-part → "info.mail-slotoro.com" 3. handleAdd calls onAdd(pattern) — only the stripped string, no kind 4. useCustomDomains.addDomain then sends { pattern } with no kind 5. Backend Variante C auto-detect keys on @ in the pattern — but the pattern no longer contains @ (frontend already stripped it), so the detector falls into the kind='web' branch Fix: pass the kind explicitly from the sheet through the prop chain. AddDomainSheet.onAdd is now (pattern, kind?) — the sheet's handleAdd forwards the kind it detected. blocker.tsx's onAdd handler threads it into addDomain so the body includes { pattern, kind }. Backend then takes the explicit path and stores type='mail_domain' for the already-stripped value. Auto-detect on bare pattern (no kind) still works for any caller that genuinely doesn't know — that path just isn't used by the sheet anymore.
Description
Self-hosted mirror of rebreak monorepo
Languages
TypeScript
68%
Vue
7.9%
Swift
7.7%
Shell
4.2%
JavaScript
3.1%
Other
8.9%