mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Updated: dependencies
+ small fixes
This commit is contained in:
parent
760d9e6243
commit
ae996b75f1
16 changed files with 59 additions and 67 deletions
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
import $ from '$';
|
||||
import ko from 'ko';
|
||||
|
||||
import {isUnd} from 'Common/Utils';
|
||||
import {i18nToNodes} from 'Common/Translator';
|
||||
|
||||
class AbstractComponent
|
||||
{
|
||||
|
|
@ -35,7 +37,7 @@ const componentExportHelper = (ClassObject, templateID = '') => ({
|
|||
params.component = componentInfo;
|
||||
params.element = $(componentInfo.element);
|
||||
|
||||
require('Common/Translator').i18nToNodes(params.element);
|
||||
i18nToNodes(params.element);
|
||||
|
||||
if (!isUnd(params.inline) && ko.unwrap(params.inline))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue