We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fcb987 commit bed1324Copy full SHA for bed1324
app/lib/credentialDisplay/shared/utils/alignment.ts
@@ -19,12 +19,8 @@ export function getValidAlignments(alignments?: Alignment[]): ValidAlignment[] {
19
return !!alignment.targetName;
20
})
21
.map(alignment => {
22
- const normalizedUrl = alignment.targetUrl
23
- ? validateUrl(alignment.targetUrl).url
24
- : undefined;
25
- return {
+ const result: ValidAlignment = {
26
targetName: alignment.targetName!,
27
- targetUrl: normalizedUrl,
28
targetDescription: alignment.targetDescription,
29
};
30
0 commit comments