From 3d75a9ef03e55ba2aba8a450b0c8e6473c3db5dc Mon Sep 17 00:00:00 2001 From: skibitsky Date: Wed, 2 Sep 2020 18:20:39 +0300 Subject: [PATCH] Replaced spaces with tabs :) --- projects.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/projects.js b/projects.js index 7621962..6f7a948 100644 --- a/projects.js +++ b/projects.js @@ -11,16 +11,16 @@ fetch('https://web.timingapp.com/api/v1/projects', { }, json: true }).then(result => { - const data = result.data + const data = result.data .filter(pr => !pr.is_archived) .map(pr => { - return { - uid: pr.self, - title: pr.title, - autocomplete: pr.title, - arg: pr.title - }; - }); + return { + uid: pr.self, + title: pr.title, + autocomplete: pr.title, + arg: pr.title + }; +}); output(inputMatches(data, 'title')); });