1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-11 17:59:20 +01:00

change comments

This commit is contained in:
Nolan Lawson 2018-03-09 23:09:43 -08:00
parent 7813cf99ed
commit af814b24f5
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -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, {