My Files: don't check stream availability when URI is absent
Previously this was failing silently, but with the new error modals it started popping up error messages.
This commit is contained in:
parent
f346739bfb
commit
c6104516e7
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ var MyFilesPage = React.createClass({
|
||||||
for (let fileInfo of filesInfo) {
|
for (let fileInfo of filesInfo) {
|
||||||
let name = fileInfo.lbry_uri;
|
let name = fileInfo.lbry_uri;
|
||||||
|
|
||||||
|
if (name === null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
lbry.lighthouse.search(name, (results) => {
|
lbry.lighthouse.search(name, (results) => {
|
||||||
var result = results[0];
|
var result = results[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue