mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-01 18:38:02 +00:00
Fixed issue where [lookup[]] could emit undefined (#5376)
This commit is contained in:
@@ -22,7 +22,7 @@ Export our filter function
|
||||
exports.lookup = function(source,operator,options) {
|
||||
var results = [];
|
||||
source(function(tiddler,title) {
|
||||
results.push(options.wiki.getTiddlerText(operator.operand + title) || operator.suffix);
|
||||
results.push(options.wiki.getTiddlerText(operator.operand + title) || operator.suffix || '');
|
||||
});
|
||||
return results;
|
||||
};
|
||||
|
Reference in New Issue
Block a user