diff --git a/kibicara-frontend/src/app/platforms/twitter/twitter-callback/twitter-callback.component.ts b/kibicara-frontend/src/app/platforms/twitter/twitter-callback/twitter-callback.component.ts index ff4af55..fdfdc16 100644 --- a/kibicara-frontend/src/app/platforms/twitter/twitter-callback/twitter-callback.component.ts +++ b/kibicara-frontend/src/app/platforms/twitter/twitter-callback/twitter-callback.component.ts @@ -31,6 +31,14 @@ export class TwitterCallbackComponent implements OnInit { this.route.snapshot.queryParams['hood'], ]); }); + } else if ( + this.route.snapshot.queryParams['hood'] && + this.route.snapshot.queryParams['denied'] + ) { + this.router.navigate([ + '/dashboard/hoods', + this.route.snapshot.queryParams['hood'], + ]); } else { this.router.navigate(['/404']); } diff --git a/kibicara-frontend/src/app/platforms/twitter/twitter-settings/twitter-settings.component.html b/kibicara-frontend/src/app/platforms/twitter/twitter-settings/twitter-settings.component.html index 69f4765..ad716c9 100644 --- a/kibicara-frontend/src/app/platforms/twitter/twitter-settings/twitter-settings.component.html +++ b/kibicara-frontend/src/app/platforms/twitter/twitter-settings/twitter-settings.component.html @@ -23,7 +23,7 @@ - +
@{{ twitter.username }}