Use slices.Compact
instead of own logic
#1681
Merged
Loading
slices.Compact
instead of own logic
#1681