Skip to content

Commit 8911de3

Browse files
committed
fix import issue
1 parent 056e8c9 commit 8911de3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/features/settings/settings.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ export class SettingsComponent {
372372
typeof item.time === 'string' &&
373373
typeof item.category_id === 'string' &&
374374
typeof item.payment_mode === 'string' &&
375-
typeof item.note === 'string' &&
376-
typeof item.location === 'string' &&
375+
(typeof item.note === 'string' || item.note === null) &&
376+
(typeof item.location === 'string' || item.location === null) &&
377377
typeof item.isExtraSpending === 'boolean'
378378
);
379379

0 commit comments

Comments
 (0)