forked from cybrespace/pinafore
change comments
This commit is contained in:
parent
7813cf99ed
commit
af814b24f5
|
@ -53,7 +53,6 @@ async function insertUpdatesIntoThreads (instanceName, updates) {
|
||||||
}
|
}
|
||||||
console.log('adding ', itemIdsToAdd.length, 'items to itemIdsToAdd for thread', timelineName)
|
console.log('adding ', itemIdsToAdd.length, 'items to itemIdsToAdd for thread', timelineName)
|
||||||
store.setForTimeline(instanceName, timelineName, {itemIdsToAdd: itemIdsToAdd})
|
store.setForTimeline(instanceName, timelineName, {itemIdsToAdd: itemIdsToAdd})
|
||||||
console.log('timelineName', timelineName, 'itemIdsToAdd', itemIdsToAdd)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ export async function showMoreItemsForCurrentThread () {
|
||||||
let instanceName = store.get('currentInstance')
|
let instanceName = store.get('currentInstance')
|
||||||
let timelineName = store.get('currentTimeline')
|
let timelineName = store.get('currentTimeline')
|
||||||
let itemIdsToAdd = store.get('itemIdsToAdd')
|
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')
|
let timelineItemIds = store.getForTimeline(instanceName, timelineName, 'timelineItemIds')
|
||||||
timelineItemIds = timelineItemIds.concat(itemIdsToAdd)
|
timelineItemIds = timelineItemIds.concat(itemIdsToAdd)
|
||||||
store.setForTimeline(instanceName, timelineName, {
|
store.setForTimeline(instanceName, timelineName, {
|
||||||
|
|
Loading…
Reference in New Issue