Make variable private

This commit is contained in:
ArtemDzhereleiko 2021-09-21 18:51:03 +03:00
parent 8f377ff367
commit 5fa98785dd

View File

@ -109,6 +109,7 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
private datasources: Array<Datasource>;
private destroy$ = new Subject();
public sources: Array<MultipleInputWidgetSource> = [];
private isSavingInProgress = false;
isVerticalAlignment: boolean;
inputWidthSettings: string;
@ -121,8 +122,6 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
multipleInputFormGroup: FormGroup;
isSavingInProgress: boolean = false;
toastTargetId = 'multiple-input-widget' + this.utils.guid();
constructor(protected store: Store<AppState>,
@ -580,6 +579,7 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
}
},
() => {
this.isSavingInProgress = false;
if (this.settings.showResultMessage) {
this.ctx.showErrorToast(this.translate.instant('widgets.input-widgets.update-failed'),
'bottom', 'left', this.toastTargetId);