Added support to set crawlable short URLs during creation and edition

This commit is contained in:
Alejandro Celaya
2021-06-23 19:52:19 +02:00
parent 3a57416525
commit 5ef719c592
5 changed files with 65 additions and 17 deletions

View File

@@ -41,6 +41,7 @@ const getInitialState = (shortUrl?: ShortUrl, settings?: ShortUrlCreationSetting
validSince: shortUrl.meta.validSince ?? undefined,
validUntil: shortUrl.meta.validUntil ?? undefined,
maxVisits: shortUrl.meta.maxVisits ?? undefined,
crawlable: shortUrl.crawlable,
validateUrl,
};
};