[frontend] Fixes in twitter platform module
This commit is contained in:
parent
5cf06a647f
commit
74aa79d64e
|
@ -31,6 +31,14 @@ export class TwitterCallbackComponent implements OnInit {
|
||||||
this.route.snapshot.queryParams['hood'],
|
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 {
|
} else {
|
||||||
this.router.navigate(['/404']);
|
this.router.navigate(['/404']);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
</button>
|
</button>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
<mat-list-item *ngFor="let twitter of twitters">
|
<mat-list-item *ngFor="let twitter of twitters | twitterCorpses">
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
@{{ twitter.username }}
|
@{{ twitter.username }}
|
||||||
<mat-slide-toggle
|
<mat-slide-toggle
|
||||||
|
|
Loading…
Reference in a new issue