rm success string from ignored
This commit is contained in:
parent
e1678d6113
commit
39cc1b998c
1 changed files with 4 additions and 10 deletions
|
@ -68,10 +68,7 @@ const LdapSettingsHeader = ({
|
|||
action: "triggerChangedUsersSync",
|
||||
});
|
||||
if (response.ignored) {
|
||||
addAlert(
|
||||
t("syncUsersSuccess") + ` ${response.status}.`,
|
||||
AlertVariant.success
|
||||
);
|
||||
addAlert(`${response.status}.`, AlertVariant.warning);
|
||||
} else {
|
||||
addAlert(
|
||||
t("syncUsersSuccess") +
|
||||
|
@ -93,10 +90,7 @@ const LdapSettingsHeader = ({
|
|||
action: "triggerFullSync",
|
||||
});
|
||||
if (response.ignored) {
|
||||
addAlert(
|
||||
t("syncUsersSuccess") + ` ${response.status}.`,
|
||||
AlertVariant.success
|
||||
);
|
||||
addAlert(`${response.status}.`, AlertVariant.warning);
|
||||
} else {
|
||||
addAlert(
|
||||
t("syncUsersSuccess") +
|
||||
|
|
Loading…
Reference in a new issue