From abc3a6798d34148743a1c3c924f3468781a65d94 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 2 Dec 2020 20:48:13 +0200 Subject: [PATCH] Fix TypeError --- site/content/docs/5.0/thanks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/docs/5.0/thanks.md b/site/content/docs/5.0/thanks.md index 9589cafea8..28833adc53 100644 --- a/site/content/docs/5.0/thanks.md +++ b/site/content/docs/5.0/thanks.md @@ -130,10 +130,10 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap. requestOC(function (data) { var allBackerList = data.nodes var backerList = allBackerList.filter(function (backer) { - return backer.tier.slug === 'backer' + return backer.tier && backer.tier.slug === 'backer' }) var sponsorList = allBackerList.filter(function (backer) { - return backer.tier.slug === 'sponsor' + return backer.tier && backer.tier.slug === 'sponsor' }) // Sort by total amount donated