Skip to content

Commit

Permalink
fixup! fixup! feat(apps): create the code of conduct frontend applica…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
josephperrott committed Apr 25, 2023
1 parent 3921c30 commit 3f803ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="mat-headline-3" mat-dialog-title>
<mat-form-field>
<mat-label>Block Until</mat-label>
<input
[style.display]="blockUserForm.controls.blockUntil.value !== false"
[style.display]="blockUserForm.controls.blockUntil.value !== false ? '': 'none'"
readonly
required
matInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ng-container matColumnDef="blockUntil">
<mat-header-cell *matHeaderCellDef> Blocked Until </mat-header-cell>
<mat-cell *matCellDef="let user"> {{user.get('blockUntil') === false ? 'Blocked Indefinitely' : user.get('blockUntil').seconds * 1000 | date}} </mat-cell>
<mat-cell *matCellDef="let user"> {{user.data().blockUntil === false ? 'Blocked Indefinitely' : user.data().blockUntil | date}} </mat-cell>
</ng-container>

<ng-container matColumnDef="blockedBy">
Expand Down
2 changes: 1 addition & 1 deletion apps/shared/account/account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class AccountService {
avatarUrl = DEFAULT_AVATAR_URL;
/** The display name for the user is available. */
displayName: string | undefined;
/** The current accounts github token, if available. */
/** An octokit client instance, authenticed if the user is logged in. */
githubApi: Octokit = new Octokit();

private auth = inject(Auth);
Expand Down

0 comments on commit 3f803ad

Please sign in to comment.