diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/login | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/login')
-rw-r--r-- | client/src/app/login/login.component.ts | 18 | ||||
-rw-r--r-- | client/src/app/login/login.module.ts | 10 |
2 files changed, 14 insertions, 14 deletions
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index fff4b43f6..cbc51ee21 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts | |||
@@ -1,16 +1,12 @@ | |||
1 | import { Component, ElementRef, OnInit, ViewChild, AfterViewInit } from '@angular/core' | ||
2 | import { Notifier, RedirectService } from '@app/core' | ||
3 | import { UserService } from '@app/shared' | ||
4 | import { AuthService } from '../core' | ||
5 | import { FormReactive } from '../shared' | ||
6 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
7 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | ||
8 | import { LoginValidatorsService } from '@app/shared/forms/form-validators/login-validators.service' | ||
9 | import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' | ||
10 | import { ActivatedRoute } from '@angular/router' | ||
11 | import { ServerConfig, RegisteredExternalAuthConfig } from '@shared/models/server/server-config.model' | ||
12 | import { environment } from 'src/environments/environment' | 1 | import { environment } from 'src/environments/environment' |
2 | import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core' | ||
3 | import { ActivatedRoute } from '@angular/router' | ||
4 | import { AuthService, Notifier, RedirectService, UserService } from '@app/core' | ||
13 | import { HooksService } from '@app/core/plugins/hooks.service' | 5 | import { HooksService } from '@app/core/plugins/hooks.service' |
6 | import { FormReactive, FormValidatorService, LoginValidatorsService } from '@app/shared/shared-forms' | ||
7 | import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' | ||
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
9 | import { RegisteredExternalAuthConfig, ServerConfig } from '@shared/models' | ||
14 | 10 | ||
15 | @Component({ | 11 | @Component({ |
16 | selector: 'my-login', | 12 | selector: 'my-login', |
diff --git a/client/src/app/login/login.module.ts b/client/src/app/login/login.module.ts index 1de72dbaa..c41902426 100644 --- a/client/src/app/login/login.module.ts +++ b/client/src/app/login/login.module.ts | |||
@@ -1,13 +1,17 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | 2 | import { SharedFormModule } from '@app/shared/shared-forms' | |
3 | import { SharedGlobalIconModule } from '@app/shared/shared-icons' | ||
4 | import { SharedMainModule } from '@app/shared/shared-main' | ||
3 | import { LoginRoutingModule } from './login-routing.module' | 5 | import { LoginRoutingModule } from './login-routing.module' |
4 | import { LoginComponent } from './login.component' | 6 | import { LoginComponent } from './login.component' |
5 | import { SharedModule } from '../shared' | ||
6 | 7 | ||
7 | @NgModule({ | 8 | @NgModule({ |
8 | imports: [ | 9 | imports: [ |
9 | LoginRoutingModule, | 10 | LoginRoutingModule, |
10 | SharedModule | 11 | |
12 | SharedMainModule, | ||
13 | SharedFormModule, | ||
14 | SharedGlobalIconModule | ||
11 | ], | 15 | ], |
12 | 16 | ||
13 | declarations: [ | 17 | declarations: [ |