Skip to content

Commit

Permalink
sentry fix (#3434)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohammed farhan K <mohammedfarhank@Mohammeds-MacBook-Air.local>
  • Loading branch information
sret-farhan2021 and Mohammed farhan K authored Jan 22, 2025
1 parent 681fe4e commit 532d21f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/fyle/my-profile/my-profile.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
</div>
</ng-container>

<div *ngIf="preferenceSettings.length > 0">
<div *ngIf="preferenceSettings?.length > 0">
<div class="my-profile__section-header">Preferences</div>
<div class="my-profile__preference-container">
<div
Expand Down
2 changes: 1 addition & 1 deletion src/app/fyle/my-profile/my-profile.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class MyProfilePage {
formAutofill: 'expense_form_autofills',
};

preferenceSettings: PreferenceSetting[];
preferenceSettings: PreferenceSetting[] = [];

infoCardsData: CopyCardDetails[];

Expand Down

0 comments on commit 532d21f

Please sign in to comment.