fix timeline showimmediately being set wrongly
This commit is contained in:
parent
4d080a1654
commit
5b403ba7d1
4 changed files with 9 additions and 6 deletions
|
@ -59,7 +59,8 @@ const startFetching = ({ credentials, store }) => {
|
|||
// that there won't spam of them when user just opened up the FE we
|
||||
// reset that flag after a while to show new notifications once again.
|
||||
setTimeout(() => store.dispatch('setNotificationsSilence', false), 10000)
|
||||
const boundFetchAndUpdate = () => fetchAndUpdate({ credentials, store, refetch: true })
|
||||
const boundFetchAndUpdate = () => fetchAndUpdate({ credentials, store })
|
||||
boundFetchAndUpdate()
|
||||
return makeFetcher(boundFetchAndUpdate, 10000)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue