Update dependencies and refactor authentication logic
- Replaced `bcrypt` with `bcryptjs` for compatibility in `authService.js` and `settingsService.js`. - Updated package versions in `package.json` and `package-lock.json`, including `multer`, `nodemailer`, and others. - Added storage management features in the frontend, including free storage calculation and localization updates for new terms in `falukant.json` files.
This commit is contained in:
@@ -253,6 +253,7 @@ export default {
|
||||
this.$refs.saleSection?.loadInventory();
|
||||
this.$refs.saleSection?.loadTransports();
|
||||
this.$refs.productionSection?.loadProductions();
|
||||
this.$refs.productionSection?.loadStorage();
|
||||
this.$refs.storageSection?.loadStorageData();
|
||||
this.$refs.revenueSection?.refresh && this.$refs.revenueSection.refresh();
|
||||
});
|
||||
@@ -379,10 +380,12 @@ export default {
|
||||
case 'production_ready':
|
||||
this.$refs.productionSection?.loadProductions();
|
||||
this.$refs.storageSection?.loadStorageData();
|
||||
this.$refs.productionSection?.loadStorage();
|
||||
this.$refs.saleSection?.loadInventory();
|
||||
break;
|
||||
case 'stock_change':
|
||||
this.$refs.storageSection?.loadStorageData();
|
||||
this.$refs.productionSection?.loadStorage();
|
||||
this.$refs.saleSection?.loadInventory();
|
||||
break;
|
||||
case 'price_update':
|
||||
@@ -397,6 +400,7 @@ export default {
|
||||
case 'selled_items':
|
||||
this.$refs.saleSection?.loadInventory();
|
||||
this.$refs.storageSection?.loadStorageData();
|
||||
this.$refs.productionSection?.loadStorage();
|
||||
break;
|
||||
case 'falukantUpdateStatus':
|
||||
case 'falukantBranchUpdate':
|
||||
@@ -406,6 +410,7 @@ export default {
|
||||
|
||||
if (this.$refs.productionSection) {
|
||||
this.$refs.productionSection.loadProductions();
|
||||
this.$refs.productionSection.loadStorage();
|
||||
}
|
||||
|
||||
if (this.$refs.storageSection) {
|
||||
|
||||
Reference in New Issue
Block a user