@betarena/ad-engine 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
{
|
|
321
321
|
for (const [zoneId, authorIds] of mapZoneToAuthorIds)
|
|
322
322
|
{
|
|
323
|
-
if (!authorId || !authorIds.includes(authorId))
|
|
323
|
+
if (!authorId || (authorIds.length > 0 && !authorIds.includes(authorId)))
|
|
324
324
|
continue;
|
|
325
325
|
;
|
|
326
326
|
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
|
|
385
385
|
for (const [zoneId, tagIds] of mapZoneToTagIds)
|
|
386
386
|
{
|
|
387
|
-
if (authorArticleTagIds.filter(x => { return tagIds.includes(x) } ).length == 0)
|
|
387
|
+
if (tagIds.length > 0 && authorArticleTagIds.filter(x => { return tagIds.includes(x) } ).length == 0)
|
|
388
388
|
continue;
|
|
389
389
|
;
|
|
390
390
|
|