lint fixes
This commit is contained in:
parent
9411490780
commit
5adc975bef
|
@ -24,5 +24,5 @@ module.exports = [
|
|||
{id: 'fa-thumb-tack', src: 'node_modules/font-awesome-svg-png/white/svg/thumb-tack.svg', title: 'Thumbtack'},
|
||||
{id: 'fa-bars', src: 'node_modules/font-awesome-svg-png/white/svg/bars.svg', title: 'List'},
|
||||
{id: 'fa-volume-off', src: 'node_modules/font-awesome-svg-png/white/svg/volume-off.svg', title: 'Volume off'},
|
||||
{id: 'fa-ban', src: 'node_modules/font-awesome-svg-png/white/svg/ban.svg', title: 'Ban'},
|
||||
{id: 'fa-ban', src: 'node_modules/font-awesome-svg-png/white/svg/ban.svg', title: 'Ban'}
|
||||
]
|
||||
|
|
|
@ -78,6 +78,9 @@
|
|||
"URLSearchParams",
|
||||
"IntersectionObserver",
|
||||
"URL",
|
||||
"Event",
|
||||
"history",
|
||||
"performance",
|
||||
"self",
|
||||
"caches",
|
||||
"__routes__",
|
||||
|
|
|
@ -89,9 +89,9 @@ async function getStatusTimeline (instanceName, timeline, maxId, limit) {
|
|||
// Status threads are a special case - these are in forward chronological order
|
||||
// and we fetch them all at once instead of paginating.
|
||||
let isStatusThread = timeline.startsWith('status/')
|
||||
let getReq = isStatusThread ?
|
||||
timelineStore.getAll(createKeyRangeForStatusThread(timeline)) :
|
||||
timelineStore.getAll(createTimelineKeyRange(timeline, maxId), limit)
|
||||
let getReq = isStatusThread
|
||||
? timelineStore.getAll(createKeyRangeForStatusThread(timeline))
|
||||
: timelineStore.getAll(createTimelineKeyRange(timeline, maxId), limit)
|
||||
|
||||
getReq.onsuccess = e => {
|
||||
let timelineResults = e.target.result
|
||||
|
|
|
@ -3,7 +3,6 @@ function computeForTimeline(store, key) {
|
|||
store.compute(key, ['currentTimelineData'], (currentTimelineData) => currentTimelineData[key])
|
||||
}
|
||||
|
||||
|
||||
export function timelineComputations (store) {
|
||||
store.compute('currentTimelineData', ['currentInstance', 'currentTimeline', 'timelines'],
|
||||
(currentInstance, currentTimeline, timelines) => {
|
||||
|
|
Loading…
Reference in New Issue