diff --git a/src/short-urls/ShortUrlForm.tsx b/src/short-urls/ShortUrlForm.tsx index 81da5175..914f6d7b 100644 --- a/src/short-urls/ShortUrlForm.tsx +++ b/src/short-urls/ShortUrlForm.tsx @@ -49,6 +49,7 @@ export const ShortUrlForm = ( validSince: formatIsoDate(shortUrlData.validSince) ?? null, validUntil: formatIsoDate(shortUrlData.validUntil) ?? null, maxVisits: !hasValue(shortUrlData.maxVisits) ? null : Number(shortUrlData.maxVisits), + title: !hasValue(shortUrlData.title) ? undefined : shortUrlData.title, }).then(() => !isEdit && reset()).catch(() => {})); useEffect(() => {