Skip to content

Commit

Permalink
fix(admin): Remove isLoading
Browse files Browse the repository at this point in the history
Because isLoading is now automatically handled by PixButton.
  • Loading branch information
theotime2005 committed Jan 31, 2025
1 parent 3be4197 commit c411bbf
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ export default class AuthenticatedCertificationCentersGetInvitationsController e

@action
async createInvitation(language, role) {
this.isLoading = true;
const email = this.userEmailToInvite?.trim();
if (!this._isEmailToInviteValid(email)) {
this.isLoading = false;
return;
}

Expand All @@ -47,7 +45,6 @@ export default class AuthenticatedCertificationCentersGetInvitationsController e
} catch (err) {
this.errorResponseHandler.notify(err, this.CUSTOM_ERROR_MESSAGES);
}
this.isLoading = false;
}

@action
Expand Down

0 comments on commit c411bbf

Please sign in to comment.