rm success string from ignored

This commit is contained in:
mfrances 2021-03-10 11:06:53 -05:00
parent e1678d6113
commit 39cc1b998c

View file

@ -68,10 +68,7 @@ const LdapSettingsHeader = ({
action: "triggerChangedUsersSync", action: "triggerChangedUsersSync",
}); });
if (response.ignored) { if (response.ignored) {
addAlert( addAlert(`${response.status}.`, AlertVariant.warning);
t("syncUsersSuccess") + ` ${response.status}.`,
AlertVariant.success
);
} else { } else {
addAlert( addAlert(
t("syncUsersSuccess") + t("syncUsersSuccess") +
@ -93,10 +90,7 @@ const LdapSettingsHeader = ({
action: "triggerFullSync", action: "triggerFullSync",
}); });
if (response.ignored) { if (response.ignored) {
addAlert( addAlert(`${response.status}.`, AlertVariant.warning);
t("syncUsersSuccess") + ` ${response.status}.`,
AlertVariant.success
);
} else { } else {
addAlert( addAlert(
t("syncUsersSuccess") + t("syncUsersSuccess") +