2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Fix TypeError

This commit is contained in:
XhmikosR
2020-12-02 20:48:13 +02:00
parent 058067336f
commit abc3a6798d
+2 -2
View File
@@ -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