diff --git a/app/dashboard/templates/dashboard/index.html b/app/dashboard/templates/dashboard/index.html index 53778220..cfe967c2 100644 --- a/app/dashboard/templates/dashboard/index.html +++ b/app/dashboard/templates/dashboard/index.html @@ -407,8 +407,10 @@ if (json.enabled) { toastr.success(`${alias} is enabled`); + $(`#send-email-${aliasId}`).removeClass("disabled"); } else { toastr.success(`${alias} is disabled`); + $(`#send-email-${aliasId}`).addClass("disabled"); } } else { toastr.error("Sorry for the inconvenience! Could you refresh the page & retry please?", "Unknown Error");