<span i18n class="user-quota-label">Video quota:</span> {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }}
</div>
-<ng-template [ngIf]="user && user.account">
- <div i18n class="account-title">Profile</div>
- <my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile>
-</ng-template>
+<div i18n class="account-title">Profile</div>
+<my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile>
<div i18n class="account-title" id="notifications">Notifications</div>
<my-account-notification-preferences [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-notification-preferences>
imports: [
RouterModule.forRoot(routes, {
useHash: Boolean(history.pushState) === false,
- preloadingStrategy: PreloadSelectedModulesList
+ preloadingStrategy: PreloadSelectedModulesList,
+ anchorScrolling: 'enabled'
})
],
providers: [