We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056e8c9 commit 8911de3Copy full SHA for 8911de3
1 file changed
src/app/features/settings/settings.component.ts
@@ -372,8 +372,8 @@ export class SettingsComponent {
372
typeof item.time === 'string' &&
373
typeof item.category_id === 'string' &&
374
typeof item.payment_mode === 'string' &&
375
- typeof item.note === 'string' &&
376
- typeof item.location === 'string' &&
+ (typeof item.note === 'string' || item.note === null) &&
+ (typeof item.location === 'string' || item.location === null) &&
377
typeof item.isExtraSpending === 'boolean'
378
);
379
0 commit comments