removed dead code

This commit is contained in:
quobix
2024-09-09 13:03:54 -04:00
parent 708c439017
commit 82bea5219f

View File

@@ -751,14 +751,10 @@ func ConvertComponentIdIntoFriendlyPathSearch(id string) (string, string) {
if intVal <= 99 { if intVal <= 99 {
if len(cleaned) > 0 { if len(cleaned) > 0 {
appendSegment(&sb, segs, cleaned, i, false) appendSegment(&sb, segs, cleaned, i, false)
} else {
cleaned = append(cleaned, segs[i])
} }
} else { } else {
if len(cleaned) > 0 { if len(cleaned) > 0 {
appendSegment(&sb, segs, cleaned, i, true) appendSegment(&sb, segs, cleaned, i, true)
} else {
cleaned = append(cleaned, segs[i])
} }
} }
continue continue