diff --git a/Website/ui/src/plugins/wavecom-payment-provider/js/services/WaveComService.js b/Website/ui/src/plugins/wavecom-payment-provider/js/services/WaveComService.js index 9dd25e968..ac0441271 100644 --- a/Website/ui/src/plugins/wavecom-payment-provider/js/services/WaveComService.js +++ b/Website/ui/src/plugins/wavecom-payment-provider/js/services/WaveComService.js @@ -2,8 +2,9 @@ import WaveComRepository from '@/plugins/wavecom-payment-provider/js/repositorie import {ErrorHandler} from '@/plugins/bulk-registration/js/Helpers/ErrorHander' export class WaveComService { - - reasons = []; + constructor () { + this.reasons = [] + } async upload(filePath) { const formData = new FormData() diff --git a/Website/ui/src/services/MeterDetailService.js b/Website/ui/src/services/MeterDetailService.js index 8a135e035..55d1f4cd3 100644 --- a/Website/ui/src/services/MeterDetailService.js +++ b/Website/ui/src/services/MeterDetailService.js @@ -63,8 +63,8 @@ export class MeterDetailService { return { id: person.id, name: person.name + ' ' + person.surname, - toLowerCase: () => x.name.toLowerCase(), - toString: () => x.name + toLowerCase: () => person.name.toLowerCase(), + toString: () => person.name } }) } catch (e) {