stats4sd / Stats4SD-Resources-Site

Reposistory for the Stats4SD Resources Repository
https://resources.stats4sd.org
GNU General Public License v3.0
0 stars 0 forks source link

Cannot add external links to existing resources #92

Closed dave-mills closed 7 years ago

dave-mills commented 7 years ago

If the resource already has an external link, I can add and edit them fine. If the resource does not, I cannot add (error when I click the + button => "Cannot read property 'length' of undefined')

chrismclarke commented 7 years ago

ah, external links are populated on creation of a new resource but when saved I think firebase simply removes empty arrays. Added check on link add function to fix.