mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Merge branch 'nourguidara-fix-i18n-init-timing'
This commit is contained in:
commit
bb6910acd1
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