File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -166,12 +166,11 @@ export default {
166166 });
167167 // FIXME: use matches directly instead of using records, UI
168168 // should better render full matches
169- records = Array .isArray (matches .flat ) ?
170- matches .flat .map (match => match .derived ? .length > 0 ?
169+ records = matches .flat .map (match => match .derived ? .length > 0 ?
171170 // FIXME: temporary measure to replace content with derived VC,
172171 // instead UI should support both and prefer derived
173- {... match .record , content: match .derived [0 ].derivedCredential } :
174- match .record ) : [] ;
172+ {... match .record , content: match .derived [0 ].derivedCredential } :
173+ match .record );
175174 } catch (error) {
176175 console .log (' Error trying to process query: ' , {error});
177176 }
You can’t perform that action at this time.
0 commit comments