Make variable private
This commit is contained in:
parent
8f377ff367
commit
5fa98785dd
@ -109,6 +109,7 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
|
|||||||
private datasources: Array<Datasource>;
|
private datasources: Array<Datasource>;
|
||||||
private destroy$ = new Subject();
|
private destroy$ = new Subject();
|
||||||
public sources: Array<MultipleInputWidgetSource> = [];
|
public sources: Array<MultipleInputWidgetSource> = [];
|
||||||
|
private isSavingInProgress = false;
|
||||||
|
|
||||||
isVerticalAlignment: boolean;
|
isVerticalAlignment: boolean;
|
||||||
inputWidthSettings: string;
|
inputWidthSettings: string;
|
||||||
@ -121,8 +122,6 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
|
|||||||
|
|
||||||
multipleInputFormGroup: FormGroup;
|
multipleInputFormGroup: FormGroup;
|
||||||
|
|
||||||
isSavingInProgress: boolean = false;
|
|
||||||
|
|
||||||
toastTargetId = 'multiple-input-widget' + this.utils.guid();
|
toastTargetId = 'multiple-input-widget' + this.utils.guid();
|
||||||
|
|
||||||
constructor(protected store: Store<AppState>,
|
constructor(protected store: Store<AppState>,
|
||||||
@ -580,6 +579,7 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
|
this.isSavingInProgress = false;
|
||||||
if (this.settings.showResultMessage) {
|
if (this.settings.showResultMessage) {
|
||||||
this.ctx.showErrorToast(this.translate.instant('widgets.input-widgets.update-failed'),
|
this.ctx.showErrorToast(this.translate.instant('widgets.input-widgets.update-failed'),
|
||||||
'bottom', 'left', this.toastTargetId);
|
'bottom', 'left', this.toastTargetId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user