mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(lint)
This commit is contained in:
parent
55a47fb42f
commit
d9f35e7c0f
@ -75,7 +75,8 @@ export const adsInternal = [
|
||||
export default (locale) => {
|
||||
const adsInternalPerPlaceholder = {};
|
||||
for (const ad of adsInternal) {
|
||||
if (ad.enabled === false || (ad.locale !== null && ad.locale !== locale)) {
|
||||
const rightLocale = ad.locale === null || ad.locale === locale;
|
||||
if (ad.enabled === false || !rightLocale) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user