+
+
+ {result.matches.some(m => m.type === 'name') && (
+ (name match)
+ )}
+
+
+ {result.path.slice(0, -1).join(' > ')}
+
+ {result.matches.filter(match => match.type !== 'name').map((match, matchIndex) => (
+
+
+ {match.type.charAt(0).toUpperCase() + match.type.slice(1)}
+
+
+
+
+
+ ))}
+