Skip to content

Commit

Permalink
fix: stop telemetry on db change
Browse files Browse the repository at this point in the history
  • Loading branch information
18alantom committed Mar 15, 2022
1 parent 20578d2 commit 4aabd75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import DatabaseSelector from './pages/DatabaseSelector';
import Desk from './pages/Desk';
import SetupWizard from './pages/SetupWizard/SetupWizard';
import './styles/index.css';
import telemetry from './telemetry/telemetry';
import { checkForUpdates, routeTo } from './utils';
export default {
Expand Down Expand Up @@ -131,6 +132,7 @@ export default {
},
changeDbFile() {
config.set('lastSelectedFilePath', null);
telemetry.stop()
purgeCache(true);
this.activeScreen = 'DatabaseSelector';
},
Expand Down

0 comments on commit 4aabd75

Please sign in to comment.