diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.html b/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.html index 921d800649..3a122357c7 100644 --- a/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.html +++ b/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.html @@ -1,9 +1,9 @@ - +

{{ 'AbpIdentity::PersonalInfo' | abpLocalization }}

-
+
* @@ -36,12 +36,6 @@ - {{ 'AbpIdentity::Save' | abpLocalization }} + {{ 'AbpIdentity::Save' | abpLocalization }} diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.ts b/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.ts index 6836ca8c28..f2e4683239 100644 --- a/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.ts +++ b/npm/ng-packs/packages/theme-basic/src/lib/components/profile/profile.component.ts @@ -32,6 +32,8 @@ export class ProfileComponent implements OnChanges { form: FormGroup; + modalBusy: boolean = false; + constructor(private fb: FormBuilder, private store: Store) {} buildForm() { @@ -54,8 +56,10 @@ export class ProfileComponent implements OnChanges { onSubmit() { if (this.form.invalid) return; + this.modalBusy = true; this.store.dispatch(new UpdateProfile(this.form.value)).subscribe(() => { + this.modalBusy = false; this.visible = false; this.form.reset(); });