fix(v2): make proper data type for prependBaseUrlToHref field (#4980)

This commit is contained in:
Alexey Pyltsyn 2021-06-16 12:06:25 +03:00 committed by GitHub
parent d7e4e422a2
commit 8501db78a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ const BaseNavbarItemSchema = Joi.object({
href: URISchema,
label: Joi.string(),
className: Joi.string(),
prependBaseUrlToHref: Joi.string(),
prependBaseUrlToHref: Joi.bool(),
})
// We allow any unknown attributes on the links
// (users may need additional attributes like target, aria-role, data-customAttribute...)