From 5e4069d72b8b2a8870de071c35fe48339e2024ee Mon Sep 17 00:00:00 2001 From: aastha Date: Thu, 8 Feb 2024 08:14:46 +0530 Subject: [PATCH] Minor --- .../virtual-card-details-response.data.ts | 3 ++- .../platform-corporate-card-detail.model.ts | 3 +-- .../card-stats/card-stats.component.ts | 1 - .../virtual-card/virtual-card.component.html | 19 ++----------------- 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/src/app/core/mock-data/virtual-card-details-response.data.ts b/src/app/core/mock-data/virtual-card-details-response.data.ts index 26c44e1633..1eae1112f3 100644 --- a/src/app/core/mock-data/virtual-card-details-response.data.ts +++ b/src/app/core/mock-data/virtual-card-details-response.data.ts @@ -1,4 +1,5 @@ -import { CardDetailsAmountResponse, CardDetailsResponse } from '../models/card-details-response.model'; +import { CardDetailsAmountResponse } from '../models/card-details-amount-response'; +import { CardDetailsResponse } from '../models/card-details-response.model'; import { PlatformApiResponse } from '../models/platform/platform-api-response.model'; export const virtualCardDetailsResponse: { data: CardDetailsResponse } = { diff --git a/src/app/core/models/platform-corporate-card-detail.model.ts b/src/app/core/models/platform-corporate-card-detail.model.ts index c884906f99..09c484b400 100644 --- a/src/app/core/models/platform-corporate-card-detail.model.ts +++ b/src/app/core/models/platform-corporate-card-detail.model.ts @@ -1,5 +1,4 @@ -import { CardDetailsResponseWithNickName } from './card-details-response.model'; -import { CardDetailsWithAmountResponse } from './card-details-with-amount-response.model'; +import { CardDetailsResponseWithNickName } from './card-details-response-with-nickname.model'; import { PlatformCorporateCard } from './platform/platform-corporate-card.model'; export interface PlatformCorporateCardDetail { diff --git a/src/app/fyle/dashboard/card-stats/card-stats.component.ts b/src/app/fyle/dashboard/card-stats/card-stats.component.ts index 21123c418b..98ec1d9b2c 100644 --- a/src/app/fyle/dashboard/card-stats/card-stats.component.ts +++ b/src/app/fyle/dashboard/card-stats/card-stats.component.ts @@ -143,7 +143,6 @@ export class CardStatsComponent implements OnInit { return this.virtualCardsService.getCardDetailsAndAmountInSerial(virtualCardIds).pipe( map((virtualCardsMap) => { cardDetails.forEach((cardDetail) => { - console.log(cardDetail); cardDetail.virtualCardDetail = virtualCardsMap[cardDetail.card.virtual_card_id]; }); return cardDetails; diff --git a/src/app/shared/components/virtual-card/virtual-card.component.html b/src/app/shared/components/virtual-card/virtual-card.component.html index af6d2719ca..25529b918a 100644 --- a/src/app/shared/components/virtual-card/virtual-card.component.html +++ b/src/app/shared/components/virtual-card/virtual-card.component.html @@ -15,7 +15,7 @@ -
+
****
******
@@ -35,22 +35,7 @@ >
-
-
-
CVV
-
-
****
-
{{ cvv }}
- -
-
-
+
CVV