Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chethan-Fyle committed May 24, 2024
1 parent 81e0f32 commit ed1c434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/fyle/view-expense/view-expense.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export class ViewExpensePage {
const editExpenseAttachments = this.expense$.pipe(
take(1),
switchMap((expense) => {
if (expense.file_ids?.length > 0) {
if (expense.file_ids.length > 0) {
if (this.view === ExpenseView.individual) {
return this.spenderFileService.generateUrlsBulk(expense.file_ids);
} else {
Expand Down

0 comments on commit ed1c434

Please sign in to comment.