Prevent crash when opening tutorials library

This commit is contained in:
Christopher Willis-Ford committed 2019-03-12 15:01:23 -07:00
1 parent 2c285fee8a
commit 46ce75bf2a
1 file changed
+1 -1
+1 -1
View File
@@ -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.