mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
bug fix in imports\i18n\index.js
This commit is contained in:
parent
1bdbfe86bb
commit
b390b266e2
1 changed files with 10 additions and 7 deletions
|
@ -2,13 +2,16 @@ import { TAPi18n } from './tap';
|
|||
import './accounts';
|
||||
import './moment';
|
||||
|
||||
if (Meteor.isClient) {
|
||||
import './blaze';
|
||||
}
|
||||
|
||||
export { TAPi18n };
|
||||
|
||||
(async () => {
|
||||
await TAPi18n.init();
|
||||
})();
|
||||
if (Meteor.isClient) {
|
||||
(async () => {
|
||||
await import('./blaze');
|
||||
await TAPi18n.init();
|
||||
})();
|
||||
} else {
|
||||
(async () => {
|
||||
await TAPi18n.init();
|
||||
})();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue