1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00

Datawidget: Add check if tiddler exists for $filter attribute to avoide rsod (#8333)

This commit is contained in:
Mario Pietsch 2024-07-04 18:37:40 +02:00 committed by GitHub
parent 32c75cbb68
commit 73163386c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,9 @@ DataWidget.prototype.computeDataTiddlerValues = function() {
var titles = this.wiki.filterTiddlers(filter);
$tw.utils.each(titles,function(title) {
var tiddler = self.wiki.getTiddler(title);
tiddlers.push(tiddler);
if(tiddler) {
tiddlers.push(tiddler);
}
});
}
}