mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make reloading of application window not restart periodical check for updates
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
42e633d0b9
commit
108bf8a064
@ -16,7 +16,7 @@ const startCheckingForUpdatesInjectable = getInjectable({
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
run: async () => {
|
run: async () => {
|
||||||
if (updatingIsEnabled) {
|
if (updatingIsEnabled && !periodicalCheckForUpdates.started) {
|
||||||
await periodicalCheckForUpdates.start();
|
await periodicalCheckForUpdates.start();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user