Skip to content

Commit 3f803ad

Browse files
committed
fixup! fixup! feat(apps): create the code of conduct frontend application
1 parent 3921c30 commit 3f803ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/code-of-conduct/app/block-user/block-user.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

apps/code-of-conduct/app/user-table/user-table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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">

apps/shared/account/account.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)