diff options
author | Ms Kimsible <1877318+kimsible@users.noreply.github.com> | 2021-08-26 08:22:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 08:22:33 +0200 |
commit | 7dca45f99db58d9bb3423a3765aaee68c69bc9f2 (patch) | |
tree | 6bdf45c304a58dca51a8e856a8d35238e7bc9bbb /client/src/app/app.component.ts | |
parent | 8729a87024fc837f7dd6f13afeec90cf6dda1c06 (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
20 | import { CustomModalComponent } from '@app/modal/custom-modal.component' | 20 | import { CustomModalComponent } from '@app/modal/custom-modal.component' |
21 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' | 21 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' |
22 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' | 22 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' |
23 | import { AccountSetupModalComponent } from '@app/modal/account-setup-modal.component' | ||
23 | import { NgbConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap' | 24 | import { NgbConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap' |
24 | import { LoadingBarService } from '@ngx-loading-bar/core' | 25 | import { LoadingBarService } from '@ngx-loading-bar/core' |
25 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' | 26 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' |
@@ -37,6 +38,7 @@ import { InstanceService } from './shared/shared-instance' | |||
37 | export class AppComponent implements OnInit, AfterViewInit { | 38 | export 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 |