diff --git a/client/src/app/account/account-settings/account-change-password/index.ts b/client/src/app/account/account-settings/account-change-password/index.ts deleted file mode 100644 index 44c330b66..000000000 --- a/client/src/app/account/account-settings/account-change-password/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './account-change-password.component' diff --git a/client/src/app/account/account-settings/account-details/index.ts b/client/src/app/account/account-settings/account-details/index.ts deleted file mode 100644 index 4829f608a..000000000 --- a/client/src/app/account/account-settings/account-details/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './account-details.component' diff --git a/client/src/app/account/account.component.html b/client/src/app/account/account.component.html deleted file mode 100644 index d82a4ca4d..000000000 --- a/client/src/app/account/account.component.html +++ /dev/null @@ -1,11 +0,0 @@ -
- - -
- -
-
diff --git a/client/src/app/account/account.component.scss b/client/src/app/account/account.component.scss deleted file mode 100644 index e69de29bb..000000000 diff --git a/client/src/app/account/account.component.ts b/client/src/app/account/account.component.ts deleted file mode 100644 index 3d3677ab0..000000000 --- a/client/src/app/account/account.component.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Component } from '@angular/core' - -@Component({ - selector: 'my-account', - templateUrl: './account.component.html', - styleUrls: [ './account.component.scss' ] -}) -export class AccountComponent {} diff --git a/client/src/app/account/account.module.ts b/client/src/app/account/account.module.ts deleted file mode 100644 index 2299c1919..000000000 --- a/client/src/app/account/account.module.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { NgModule } from '@angular/core' -import { SharedModule } from '../shared' -import { AccountRoutingModule } from './account-routing.module' -import { AccountChangePasswordComponent } from './account-settings/account-change-password/account-change-password.component' -import { AccountDetailsComponent } from './account-settings/account-details/account-details.component' -import { AccountSettingsComponent } from './account-settings/account-settings.component' -import { AccountComponent } from './account.component' -import { AccountVideosComponent } from './account-videos/account-videos.component' - -@NgModule({ - imports: [ - AccountRoutingModule, - SharedModule - ], - - declarations: [ - AccountComponent, - AccountSettingsComponent, - AccountChangePasswordComponent, - AccountDetailsComponent, - AccountVideosComponent - ], - - exports: [ - AccountComponent - ], - - providers: [] -}) -export class AccountModule { } diff --git a/client/src/app/account/index.ts b/client/src/app/account/index.ts deleted file mode 100644 index dc56ffdbd..000000000 --- a/client/src/app/account/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './account-routing.module' -export * from './account.component' -export * from './account.module' diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 77d68a4ec..c22632fb8 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts @@ -6,7 +6,7 @@ import { ResetPasswordModule } from '@app/reset-password' import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' -import { AccountModule } from './account' +import { MyAccountModule } from './my-account' import { AppRoutingModule } from './app-routing.module' import { AppComponent } from './app.component' @@ -46,7 +46,7 @@ export function metaFactory (serverService: ServerService): MetaLoader { AppRoutingModule, - AccountModule, + MyAccountModule, CoreModule, LoginModule, ResetPasswordModule, diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index d827a4dd4..832cd9e78 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -5,7 +5,7 @@
- {{ user.username }} + {{ user.username }}
{{ user.email }}
@@ -14,7 +14,7 @@