FIX: house ads randomized instead of showing evenly

This commit is contained in:
Neil Lalonde 2019-05-03 16:04:04 -04:00
parent 26d42e9ed7
commit d9d7f4c8f4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ export default AdComponent.extend({
return;
}
if (!adIndex["topic_list_top"]) {
if (adIndex.topic_list_top === null) {
// start at a random spot in the ad inventory
Object.keys(adIndex).forEach(placement => {
const adNames = this.adsNamesForSlot(placement);