optional chaining

This commit is contained in:
Henry Jameson 2026-08-04 15:59:52 +03:00
commit cf85b00c0a
26 changed files with 34 additions and 34 deletions

View file

@ -29,7 +29,7 @@ const FollowRequestCard = {
notif.from_profile.id === this.user.id &&
notif.type === 'follow_request',
)
return notif && notif.id
return notif?.id
},
showApproveConfirmDialog() {
this.showingApproveConfirmDialog = true