mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
prettier --write
This commit is contained in:
parent
450528ff00
commit
8a0be3212d
164 changed files with 7053 additions and 9008 deletions
|
|
@ -1,16 +1,13 @@
|
|||
import { i18n } from 'Common/Translator';
|
||||
import { defautOptionsAfterRender } from 'Common/Utils';
|
||||
import { componentExportHelper } from 'Component/Abstract';
|
||||
import { AbstractInput } from 'Component/AbstractInput';
|
||||
|
||||
import {i18n} from 'Common/Translator';
|
||||
import {defautOptionsAfterRender} from 'Common/Utils';
|
||||
import {componentExportHelper} from 'Component/Abstract';
|
||||
import {AbstractInput} from 'Component/AbstractInput';
|
||||
|
||||
class SelectComponent extends AbstractInput
|
||||
{
|
||||
class SelectComponent extends AbstractInput {
|
||||
/**
|
||||
* @param {Object} params
|
||||
*/
|
||||
constructor(params) {
|
||||
|
||||
super(params);
|
||||
|
||||
this.options = params.options || '';
|
||||
|
|
@ -19,8 +16,7 @@ class SelectComponent extends AbstractInput
|
|||
this.optionsValue = params.optionsValue || null;
|
||||
this.optionsCaption = params.optionsCaption || null;
|
||||
|
||||
if (this.optionsCaption)
|
||||
{
|
||||
if (this.optionsCaption) {
|
||||
this.optionsCaption = i18n(this.optionsCaption);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue