mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Code refactoring (v2)
This commit is contained in:
parent
90d95d3ca4
commit
80ab02363e
29 changed files with 858 additions and 857 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import Translator from 'Common/Translator';
|
||||
import {i18n} from 'Common/Translator';
|
||||
import {defautOptionsAfterRender} from 'Common/Utils';
|
||||
import {componentExportHelper} from 'Component/Abstract';
|
||||
import {AbstractInput} from 'Component/AbstractInput';
|
||||
|
|
@ -21,7 +21,7 @@ class SelectComponent extends AbstractInput
|
|||
|
||||
if (this.optionsCaption)
|
||||
{
|
||||
this.optionsCaption = Translator.i18n(this.optionsCaption);
|
||||
this.optionsCaption = i18n(this.optionsCaption);
|
||||
}
|
||||
|
||||
this.defautOptionsAfterRender = defautOptionsAfterRender;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue