fix: [domain search] fix template domain types filter

This commit is contained in:
Terrtia 2023-05-24 11:55:31 +02:00
parent a30cc1539d
commit 19f154a81a
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -467,7 +467,7 @@ def sanitize_domains_types(types):
types_domains = [] types_domains = []
for type_d in types: for type_d in types:
if type_d in domains_types: if type_d in domains_types:
domains_types.append(type_d) types_domains.append(type_d)
if not types_domains: if not types_domains:
return domains_types return domains_types
return types_domains return types_domains