mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-22 23:02:40 +01:00
feat: strike of collection from electron-store upon removal
This commit is contained in:
parent
0709666b03
commit
118658822d
@ -155,6 +155,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
|
|||||||
if(watcher && mainWindow) {
|
if(watcher && mainWindow) {
|
||||||
console.log(`watcher stopWatching: ${collectionPath}`);
|
console.log(`watcher stopWatching: ${collectionPath}`);
|
||||||
watcher.removeWatcher(collectionPath, mainWindow);
|
watcher.removeWatcher(collectionPath, mainWindow);
|
||||||
|
lastOpenedCollections.remove(collectionPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user