mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make reloading application not restart the catalog sync
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 file changed
+3
-1
@@ -14,7 +14,9 @@ const startCatalogSyncInjectable = getInjectable({
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
run: async () => {
|
run: async () => {
|
||||||
await catalogSyncToRenderer.start();
|
if (!catalogSyncToRenderer.started) {
|
||||||
|
await catalogSyncToRenderer.start();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user