From af814b24f52a04bf53ed41f7123f1aefae08432e Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 9 Mar 2018 23:09:43 -0800 Subject: [PATCH] change comments --- routes/_actions/addStatusOrNotification.js | 1 - routes/_actions/timeline.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/_actions/addStatusOrNotification.js b/routes/_actions/addStatusOrNotification.js index 954af4b5..ba4e28dd 100644 --- a/routes/_actions/addStatusOrNotification.js +++ b/routes/_actions/addStatusOrNotification.js @@ -53,7 +53,6 @@ async function insertUpdatesIntoThreads (instanceName, updates) { } console.log('adding ', itemIdsToAdd.length, 'items to itemIdsToAdd for thread', timelineName) store.setForTimeline(instanceName, timelineName, {itemIdsToAdd: itemIdsToAdd}) - console.log('timelineName', timelineName, 'itemIdsToAdd', itemIdsToAdd) } } diff --git a/routes/_actions/timeline.js b/routes/_actions/timeline.js index 837dcbd5..403181fe 100644 --- a/routes/_actions/timeline.js +++ b/routes/_actions/timeline.js @@ -101,7 +101,7 @@ export async function showMoreItemsForCurrentThread () { let instanceName = store.get('currentInstance') let timelineName = store.get('currentTimeline') let itemIdsToAdd = store.get('itemIdsToAdd') - // TODO: update database and do this merge correctly + // TODO: update database and do the thread merge correctly let timelineItemIds = store.getForTimeline(instanceName, timelineName, 'timelineItemIds') timelineItemIds = timelineItemIds.concat(itemIdsToAdd) store.setForTimeline(instanceName, timelineName, {