profile + i18n
This commit is contained in:
@@ -33,13 +33,15 @@ import {UsernameDialog} from './pages/register/username-dialog/username.dialog';
|
||||
import {UnavailableComponent} from './pages/unavailable/unavailable.component';
|
||||
import {NotfoundComponent} from './pages/notfound/notfound.component';
|
||||
import {HtmlComponent} from './utils/html/html.component';
|
||||
import {ConfirmDialog} from './ui/confirm/confirm.component'
|
||||
import {UserComponent} from './pages/user/user.component'
|
||||
|
||||
|
||||
import {I18nService} from './services/i18n.service';
|
||||
|
||||
|
||||
export function init_app(i18n: I18nService) {
|
||||
return () => i18n.fetch(i18n.getLocale()).then(response => {}, error => {});
|
||||
return () => i18n.fetch().then(response => {}, error => {});
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
@@ -81,7 +83,9 @@ export class XhrInterceptor implements HttpInterceptor {
|
||||
UsernameDialog,
|
||||
UnavailableComponent,
|
||||
NotfoundComponent,
|
||||
HtmlComponent
|
||||
HtmlComponent,
|
||||
ConfirmDialog,
|
||||
UserComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
||||
Reference in New Issue
Block a user