diff --git a/kontakt/contact-scrape.go b/kontakt/contact-scrape.go index 119e293..668c9e4 100644 --- a/kontakt/contact-scrape.go +++ b/kontakt/contact-scrape.go @@ -302,7 +302,9 @@ func cleanPhoneNumber(phone string) string { func processContacts(contacts []Contact) *ContactData { var data ContactData for _, contact := range contacts { - if strings.Contains(contact.Name, "Interní") { + // Check if name contains "Interní" (case sensitive) + isInternal := strings.Contains(contact.Name, "Interní") + if isInternal { data.InternalContacts = append(data.InternalContacts, contact) } else { data.Contacts = append(data.Contacts, contact) diff --git a/kontakt/index.html b/kontakt/index.html index 51718eb..0e4f6a4 100644 --- a/kontakt/index.html +++ b/kontakt/index.html @@ -55,19 +55,6 @@ - -
- - - -
-
@@ -139,9 +126,8 @@