Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skibitsky committed Apr 30, 2020
1 parent fe5ae29 commit 95524a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ fetch('https://web.timingapp.com/api/v1/time-entries', {
}).then(result => {
const data = result.data;

// Remove tasks with the same title
// Remove tasks with the same title
const sortedData = uniqBy(data, 'title');

var task = inputMatches(
sortedData.map(t => {
const project = t.project.title,
title = (t.title) ? t.title : project;
const project = t.project.title;
const title = (t.title) ? t.title : project;
return {
title: title,
subtitle: `Project: ${project}`,
Expand Down

0 comments on commit 95524a5

Please sign in to comment.