fix(v2): Allow null as valid for title of item in footer links (#4267)

This commit is contained in:
Ben 2021-02-22 12:56:58 -05:00 committed by GitHub
parent a8595233a8
commit 333545aa97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -287,7 +287,7 @@ const ThemeConfigSchema = Joi.object({
links: Joi.array()
.items(
Joi.object({
title: Joi.string(),
title: Joi.string().allow(null),
items: Joi.array().items(FooterLinkItemSchema).default([]),
}),
)