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:
parent
b95ab425ba
commit
1c1408eb12
@ -14,7 +14,9 @@ const startCatalogSyncInjectable = getInjectable({
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
run: async () => {
|
run: async () => {
|
||||||
|
if (!catalogSyncToRenderer.started) {
|
||||||
await catalogSyncToRenderer.start();
|
await catalogSyncToRenderer.start();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user