diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-16 16:05:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-17 10:38:18 +0100 |
commit | 457bb213b273a9b206cc5654eb085cede4e916ad (patch) | |
tree | 6b1a317872a4ca27b5d0dbe543452320b26aacff /client/src/app/core/core.module.ts | |
parent | 848f499def54db2dd36437ef0dfb74dd5041c23b (diff) | |
download | PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.tar.gz PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.tar.zst PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.zip |
Refactor how we use icons
Inject them in an angular component so we can easily change their color
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 3bc0e2885..4ef3b1e73 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -8,7 +8,7 @@ import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' | |||
8 | import { LoadingBarRouterModule } from '@ngx-loading-bar/router' | 8 | import { LoadingBarRouterModule } from '@ngx-loading-bar/router' |
9 | 9 | ||
10 | import { AuthService } from './auth' | 10 | import { AuthService } from './auth' |
11 | import { ConfirmComponent, ConfirmService } from './confirm' | 11 | import { ConfirmService } from './confirm' |
12 | import { throwIfAlreadyLoaded } from './module-import-guard' | 12 | import { throwIfAlreadyLoaded } from './module-import-guard' |
13 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' | 13 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' |
14 | import { ServerService } from './server' | 14 | import { ServerService } from './server' |
@@ -38,7 +38,6 @@ import { UserNotificationSocket } from '@app/core/notification/user-notification | |||
38 | ], | 38 | ], |
39 | 39 | ||
40 | declarations: [ | 40 | declarations: [ |
41 | ConfirmComponent, | ||
42 | CheatSheetComponent | 41 | CheatSheetComponent |
43 | ], | 42 | ], |
44 | 43 | ||
@@ -48,7 +47,6 @@ import { UserNotificationSocket } from '@app/core/notification/user-notification | |||
48 | 47 | ||
49 | ToastModule, | 48 | ToastModule, |
50 | 49 | ||
51 | ConfirmComponent, | ||
52 | CheatSheetComponent | 50 | CheatSheetComponent |
53 | ], | 51 | ], |
54 | 52 | ||