Continue update requests regardless of success/failure
This commit is contained in:
parent
d3658e35a2
commit
d6587bf21f
@ -67,7 +67,8 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
update = () => {
|
update = () => {
|
||||||
store.dispatch(ActionTypes.GET_UPDATE, undefined).then(() => {
|
//TODO: Error notification for repeated failures?
|
||||||
|
store.dispatch(ActionTypes.GET_UPDATE, undefined).finally(() => {
|
||||||
if(updatesEnabled.value) {
|
if(updatesEnabled.value) {
|
||||||
updateTimeout.value = setTimeout(() => update(), updateInterval.value);
|
updateTimeout.value = setTimeout(() => update(), updateInterval.value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user