Fixed issue where [lookup[]] could emit undefined (#5376)

browser-messaging-saver
Cameron Fischer 2021-01-07 13:19:50 -05:00 zatwierdzone przez GitHub
rodzic e280f89ca5
commit b632cea6b7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;
};