mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-02 02:48:03 +00:00
Datawidget: Add check if tiddler exists for $filter attribute to avoide rsod (#8333)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user