mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-10-28 07:41:21 +00:00
Add files via upload
This commit is contained in:
1 parent
d46f050f2d
commit
099043a21b
1 file changed
+2
-2
@@ -294,8 +294,8 @@ func processContacts(contacts []Contact) *ContactData {
|
||||
data.InternalContacts = []Contact{}
|
||||
|
||||
for _, contact := range contacts {
|
||||
// Mark as internal if name is exactly "Interní"
|
||||
if contact.Name == "Interní" {
|
||||
// Trim whitespace and check for "Interní"
|
||||
if strings.TrimSpace(contact.Name) == "Interní" {
|
||||
contact.Internal = true
|
||||
data.InternalContacts = append(data.InternalContacts, contact)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user