Skip to content

Commit 459a45e

Browse files
author
p01
committed
Fix for DFL-3706, Exception in window.templates.resource_tree._get_short_distinguisher
1 parent a4a138b commit 459a45e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/resource-manager/resource_service.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ cls.ResourceInspector = function(network_logger)
2727
{
2828
this._document_list = new cls.DocumentManager["1.0"].DocumentList(msg).documentList;
2929

30+
this._document_list = this._document_list.filter(function(d) {
31+
// discard documents that do not have a URL property yet
32+
return Boolean(d.url);
33+
});
34+
3035
this._document_list.forEach(function(d) {
3136
// use the URL class
3237
d.original_url = d.url;

0 commit comments

Comments
 (0)