From 93056b372816ad590450d6d1be73feecb1d2a1e9 Mon Sep 17 00:00:00 2001 From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com> Date: Thu, 26 Oct 2023 17:05:03 +0530 Subject: [PATCH] PFM-4409 --- frontend/mgramseva/lib/repository/expenses_repo.dart | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/mgramseva/lib/repository/expenses_repo.dart b/frontend/mgramseva/lib/repository/expenses_repo.dart index a69354fc4..0d94078bc 100644 --- a/frontend/mgramseva/lib/repository/expenses_repo.dart +++ b/frontend/mgramseva/lib/repository/expenses_repo.dart @@ -56,8 +56,16 @@ class ExpensesRepository extends BaseService { )); if (res != null && res['vendor'] != null) { - vendorList = - res['vendor'].map((e) => Vendor.fromJson(e)).toList(); + var vendors = res['vendor']; + vendorList = []; + for (int i =0;i