From 3dc05ea79492cb6e10d1e8b7d05b5e271abdf2c5 Mon Sep 17 00:00:00 2001 From: Theotime2005 Date: Fri, 31 Jan 2025 10:14:30 +0100 Subject: [PATCH] fix(admin): Remove isLoading --- .../authenticated/certification-centers/get/invitations.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/admin/app/controllers/authenticated/certification-centers/get/invitations.js b/admin/app/controllers/authenticated/certification-centers/get/invitations.js index 59ded0ced26..33cac960208 100644 --- a/admin/app/controllers/authenticated/certification-centers/get/invitations.js +++ b/admin/app/controllers/authenticated/certification-centers/get/invitations.js @@ -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; } @@ -47,7 +45,6 @@ export default class AuthenticatedCertificationCentersGetInvitationsController e } catch (err) { this.errorResponseHandler.notify(err, this.CUSTOM_ERROR_MESSAGES); } - this.isLoading = false; } @action