From 46ce75bf2a1163e320c73891da00aa69b423e467 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Fri, 14 Dec 2018 14:43:04 -0800 Subject: [PATCH] Prevent crash when opening tutorials library --- src/components/library/library.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/library/library.jsx b/src/components/library/library.jsx index 42b342481..d12295f5f 100644 --- a/src/components/library/library.jsx +++ b/src/components/library/library.jsx @@ -193,7 +193,7 @@ class LibraryComponent extends React.Component { > {this.getFilteredData().map((dataItem, index) => { const iconSource = {}; - if (dataItem.rawURL) { + if (dataItem.hasOwnProperty('rawURL')) { iconSource.uri = dataItem.rawURL; } else { // TODO: adjust libraries to be more storage-friendly; don't use split() here.