mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
fix: show spinner on cancel or edit contact mutation
This commit is contained in:
@@ -563,6 +563,7 @@ export class ContactsComponent extends PaginationFilterBaseComponent
|
||||
}
|
||||
|
||||
cancel() {
|
||||
this.loading = true;
|
||||
this.selectedOrganizationContact = null;
|
||||
this.showAddCard = !this.showAddCard;
|
||||
}
|
||||
@@ -571,6 +572,7 @@ export class ContactsComponent extends PaginationFilterBaseComponent
|
||||
await this.loadProjectsWithoutOrganizationContacts();
|
||||
this.selectedOrganizationContact = organizationContact;
|
||||
this.showAddCard = true;
|
||||
this.loading = false;
|
||||
}
|
||||
|
||||
async add() {
|
||||
|
||||
Reference in New Issue
Block a user