Commit a0d34d9f authored by martin hou's avatar martin hou

fix: test

parent af92bcbb
......@@ -685,12 +685,12 @@ Jensen.prototype.listFiles = async function () {
{
console.log('remove tag1: ' + tag);
jensen[tag] = null;
// jensen._trigger([], QUERY_FILE_LIST);
return [];
}
if (jensen[tag] == null)
{
console.trace('no tag for: ' + tag);
return '';
}
jensen[tag].push(msg.body);
let data = [];
......@@ -801,7 +801,7 @@ Jensen.prototype.listFiles = async function () {
jensen[kv] = window.setTimeout(() => {
console.log('remove tag: ' + tag);
jensen[tag] = null;
// jensen._trigger(files.filter((f) => { return Boolean(f.time); }), QUERY_FILE_LIST);
jensen._trigger(files.filter((f) => { return Boolean(f.time); }), QUERY_FILE_LIST);
console.log('jensen', 'list-files', 'timed return');
}, 1000);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment