Prevent crash when opening tutorials library
This commit is contained in:
1 parent
2c285fee8a
commit
46ce75bf2a
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user