aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorMs Kimsible <1877318+kimsible@users.noreply.github.com>2021-08-26 08:22:33 +0200
committerGitHub <noreply@github.com>2021-08-26 08:22:33 +0200
commit7dca45f99db58d9bb3423a3765aaee68c69bc9f2 (patch)
tree6bdf45c304a58dca51a8e856a8d35238e7bc9bbb /client/src/app/app.component.ts
parent8729a87024fc837f7dd6f13afeec90cf6dda1c06 (diff)
downloadPeerTube-7dca45f99db58d9bb3423a3765aaee68c69bc9f2.tar.gz
PeerTube-7dca45f99db58d9bb3423a3765aaee68c69bc9f2.tar.zst
PeerTube-7dca45f99db58d9bb3423a3765aaee68c69bc9f2.zip
Inform user to fill account profile and channels (#4352)
* Add account-setup modal when login * Add channels-setup alert into my-channels, my-playlists and upload page Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index dcc1f259f..4d5a9f75f 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -20,6 +20,7 @@ import { PluginService } from '@app/core/plugins/plugin.service'
20import { CustomModalComponent } from '@app/modal/custom-modal.component' 20import { CustomModalComponent } from '@app/modal/custom-modal.component'
21import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' 21import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component'
22import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' 22import { WelcomeModalComponent } from '@app/modal/welcome-modal.component'
23import { AccountSetupModalComponent } from '@app/modal/account-setup-modal.component'
23import { NgbConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap' 24import { NgbConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap'
24import { LoadingBarService } from '@ngx-loading-bar/core' 25import { LoadingBarService } from '@ngx-loading-bar/core'
25import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' 26import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage'
@@ -37,6 +38,7 @@ import { InstanceService } from './shared/shared-instance'
37export class AppComponent implements OnInit, AfterViewInit { 38export class AppComponent implements OnInit, AfterViewInit {
38 private static BROADCAST_MESSAGE_KEY = 'app-broadcast-message-dismissed' 39 private static BROADCAST_MESSAGE_KEY = 'app-broadcast-message-dismissed'
39 40
41 @ViewChild('accountSetupModal') accountSetupModal: AccountSetupModalComponent
40 @ViewChild('welcomeModal') welcomeModal: WelcomeModalComponent 42 @ViewChild('welcomeModal') welcomeModal: WelcomeModalComponent
41 @ViewChild('instanceConfigWarningModal') instanceConfigWarningModal: InstanceConfigWarningModalComponent 43 @ViewChild('instanceConfigWarningModal') instanceConfigWarningModal: InstanceConfigWarningModalComponent
42 @ViewChild('customModal') customModal: CustomModalComponent 44 @ViewChild('customModal') customModal: CustomModalComponent