We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e786621 commit a5ed832Copy full SHA for a5ed832
1 file changed
webapp/src/ts/effects/contacts.effects.ts
@@ -183,7 +183,7 @@ export class ContactsEffects {
183
const trackPerformance = this.performanceService.track();
184
const selected = this.selectedContact;
185
186
- if (!selected || !selected.doc) {
+ if (!selected?.doc) {
187
this.contactsActions.receiveSelectedContactTargetDoc([]);
188
trackPerformance?.stop({ name: [ ...trackName, 'load_targets_aborted' ].join(':') });
189
return;
0 commit comments