Skip to content

Commit

Permalink
fix: Fix for the travel class icon on view expense page (#2623)
Browse files Browse the repository at this point in the history
Co-authored-by: Dimple <dimple.kh@fyle.in>
  • Loading branch information
Dimple16 and Dimple authored Nov 30, 2023
1 parent 23a2935 commit 9472848
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/fyle/view-expense/view-expense.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
<div class="view-expense--icon-container__background">
<ion-icon
class="view-expense--icon-container__icon-lg"
[src]="'../../../assets/svg/fy-' + expense.category.system_category.toLowerCase() + '.svg'"
[src]="'../../../assets/svg/' + expense.category.system_category.toLowerCase() + '.svg'"
></ion-icon>
</div>
</ion-col>
Expand Down
3 changes: 2 additions & 1 deletion src/app/shared/icon/icon.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class IconModule {
'arrow-up',
'attachment.svg',
'building.svg',
'bus.svg',
'car.svg',
'card.svg',
'chevron-right.svg',
Expand All @@ -38,7 +39,6 @@ export class IconModule {
'fy-arrow-down.svg',
'fy-attachment.svg',
'fy-bot.svg',
'fy-bus.svg',
'fy-calendar.svg',
'fy-camera.svg',
'fy-car-mini.svg',
Expand Down Expand Up @@ -129,6 +129,7 @@ export class IconModule {
'tick-circle-outline-white.svg',
'toll-charge.svg',
'tick-square-filled.svg',
'train.svg',
'warning-inverted.svg',
'warning.svg',
'fy-merge.svg',
Expand Down
3 changes: 3 additions & 0 deletions src/assets/svg/bus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/svg/train.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9472848

Please sign in to comment.