lint
This commit is contained in:
parent
6763dbe7cd
commit
e94e4a02f6
@ -56,7 +56,6 @@ export class ConfirmationDialogInput implements IConfirmationDialogInput {
|
|||||||
checkboxesValidation: boolean;
|
checkboxesValidation: boolean;
|
||||||
toastMessage?: string;
|
toastMessage?: string;
|
||||||
|
|
||||||
|
|
||||||
constructor(options?: IConfirmationDialogInput) {
|
constructor(options?: IConfirmationDialogInput) {
|
||||||
this.title = options?.title || _('common.confirmation-dialog.title');
|
this.title = options?.title || _('common.confirmation-dialog.title');
|
||||||
this.titleColor = options?.titleColor || TitleColors.DEFAULT;
|
this.titleColor = options?.titleColor || TitleColors.DEFAULT;
|
||||||
@ -70,7 +69,7 @@ export class ConfirmationDialogInput implements IConfirmationDialogInput {
|
|||||||
this.denyText = options?.denyText || _('common.confirmation-dialog.deny');
|
this.denyText = options?.denyText || _('common.confirmation-dialog.deny');
|
||||||
this.translateParams = options?.translateParams || {};
|
this.translateParams = options?.translateParams || {};
|
||||||
this.checkboxes = options?.checkboxes || [];
|
this.checkboxes = options?.checkboxes || [];
|
||||||
this.checkboxesValidation = typeof options?.checkboxesValidation === "boolean"? options.checkboxesValidation : true;
|
this.checkboxesValidation = typeof options?.checkboxesValidation === 'boolean' ? options.checkboxesValidation : true;
|
||||||
this.toastMessage = options?.toastMessage;
|
this.toastMessage = options?.toastMessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user