Skip to content

Commit

Permalink
fix(#9229): old action bar prevents editing home places (#9230)
Browse files Browse the repository at this point in the history
  • Loading branch information
latin-panda authored Jul 2, 2024
1 parent 2d0be93 commit 9f90022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class ContactsContentComponent implements OnInit, OnDestroy {
relevantForms: [], // This disables the "New Action" button until forms load
sendTo: this.selectedContact?.type?.person ? this.selectedContact?.doc : '',
canDelete: this.canDeleteContact,
canEdit: this.isOnlineOnly || this.userSettings?.facility_id !== this.selectedContact?.doc?._id,
canEdit: this.isOnlineOnly || !this.userSettings?.facility_id?.includes(this.selectedContact?.doc?._id),
openContactMutedModal: (form) => this.openContactMutedModal(form),
openSendMessageModal: (sendTo) => this.openSendMessageModal(sendTo),
});
Expand Down

0 comments on commit 9f90022

Please sign in to comment.