This commit is contained in:
awesomerobot 2023-08-01 17:43:35 -04:00
parent 3d0f32eee3
commit 7c534ed55a

View File

@ -18,8 +18,9 @@ export default class CustomHeaderLinks extends Component {
locale,
] = item.split(",").map((s) => s.trim());
if (!linkText || (locale && document.documentElement.lang !== locale))
if (!linkText || (locale && document.documentElement.lang !== locale)) {
return result;
}
const linkClass = `${dasherize(linkText)}-custom-header-links`; // legacy name