File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ <h1 class="mat-headline-3" mat-dialog-title>
2424 < mat-form-field >
2525 < mat-label > Block Until</ mat-label >
2626 < input
27- [style.display] ="blockUserForm.controls.blockUntil.value !== false "
27+ [style.display] ="blockUserForm.controls.blockUntil.value !== false ? '': 'none' "
2828 readonly
2929 required
3030 matInput
Original file line number Diff line number Diff line change 99
1010 < ng-container matColumnDef ="blockUntil ">
1111 < mat-header-cell *matHeaderCellDef > Blocked Until </ mat-header-cell >
12- < mat-cell *matCellDef ="let user "> {{user.get('blockUntil') === false ? 'Blocked Indefinitely' : user.get('blockUntil').seconds * 1000 | date}} </ mat-cell >
12+ < mat-cell *matCellDef ="let user "> {{user.data().blockUntil === false ? 'Blocked Indefinitely' : user.data().blockUntil | date}} </ mat-cell >
1313 </ ng-container >
1414
1515 < ng-container matColumnDef ="blockedBy ">
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class AccountService {
3232 avatarUrl = DEFAULT_AVATAR_URL ;
3333 /** The display name for the user is available. */
3434 displayName : string | undefined ;
35- /** The current accounts github token, if available . */
35+ /** An octokit client instance, authenticed if the user is logged in . */
3636 githubApi : Octokit = new Octokit ( ) ;
3737
3838 private auth = inject ( Auth ) ;
You can’t perform that action at this time.
0 commit comments