mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup knockout Components
This commit is contained in:
parent
3f295349b6
commit
4ca29a2e8f
7 changed files with 39 additions and 51 deletions
|
|
@ -13,11 +13,7 @@ export class SelectComponent extends AbstractInput {
|
|||
|
||||
this.optionsText = params.optionsText || null;
|
||||
this.optionsValue = params.optionsValue || null;
|
||||
this.optionsCaption = params.optionsCaption || null;
|
||||
|
||||
if (this.optionsCaption) {
|
||||
this.optionsCaption = i18n(this.optionsCaption);
|
||||
}
|
||||
this.optionsCaption = i18n(params.optionsCaption || null);
|
||||
|
||||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue