diff --git a/package.json b/package.json index 8d6a9c1..9307d52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "FinanceList-Desktop", - "version": "2.0.2", + "version": "2.0.3", "description": "A cross-platform finance manager", "main": "./src/app/main.js", "scripts": { diff --git a/src/app/scripts/user/userProfile.js b/src/app/scripts/user/userProfile.js index d1e3496..6363fa9 100644 --- a/src/app/scripts/user/userProfile.js +++ b/src/app/scripts/user/userProfile.js @@ -1,3 +1,5 @@ +const RecurrTrans = require(__dirname + '/../updates/recurrTrans.js'); + const {sep} = require(__dirname + '/../storage/paths.js'); /** @@ -67,6 +69,7 @@ class UserProfile { switchToUserProfile(newUser) { if (this.storage.readPreference('users').includes(newUser)) { this.storage.storePreference('activeUser', newUser); + (new RecurrTrans(this.storage)).execRecurrTransact(); } } }