Skip to content

Commit b4ccd84

Browse files
committed
url only sends when filled
1 parent a5bd530 commit b4ccd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-app/src/components/LemmaForm/LemmaForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const LemmaForm = (props: any) => {
9090
? `required:${ownerLink}${p.ref}`
9191
: `recommended:${ownerLink}${p.ref}`
9292
);
93-
const Idata = !!url
93+
const Idata = !!url.link
9494
? {
9595
title,
9696
authors: JSON.stringify(authors.list),

0 commit comments

Comments
 (0)