fix: fetch data after save, change i18n (#2178)

This commit is contained in:
Max Peintner
2021-08-11 13:20:17 +02:00
committed by GitHub
parent cf8515598c
commit 87fa6e58fb
2 changed files with 5 additions and 2 deletions
@@ -104,6 +104,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts,
).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => {
this.toast.showError(error);
});
@@ -113,6 +114,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts,
).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => {
this.toast.showError(error);
});
@@ -121,6 +123,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts,
).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => {
this.toast.showError(error);
});