diff --git a/client/src/app/components/activities/activity-feed/activity-feed.component.html b/client/src/app/components/activities/activity-feed/activity-feed.component.html index 854722b0a..a2a120499 100644 --- a/client/src/app/components/activities/activity-feed/activity-feed.component.html +++ b/client/src/app/components/activities/activity-feed/activity-feed.component.html @@ -29,8 +29,7 @@ {{ activity.verbiage }} @switch (activity.subject.__typename) { @case ('Feature') { - + } @case ('Assertion') { - + @if (comment.parsedComment.length == 0) { + + No Comment Provided + + } @else { + + } diff --git a/client/src/app/components/comments/comment-display/comment-display.component.ts b/client/src/app/components/comments/comment-display/comment-display.component.ts index 00fb8eb51..8ff7743be 100644 --- a/client/src/app/components/comments/comment-display/comment-display.component.ts +++ b/client/src/app/components/comments/comment-display/comment-display.component.ts @@ -1,14 +1,14 @@ import { Component, Input, OnInit } from '@angular/core' -import { Comment, CommentBodySegment, Maybe, Scalars } from '@app/generated/civic.apollo' +import { CommentBodySegment, Maybe } from '@app/generated/civic.apollo' export interface CommenterInterface { - displayName: string, + displayName: string profileImagePath: Maybe } -export interface CommentInterface { - createdAt: string | number, - parsedComment: CommentBodySegment[], +export interface CommentInterface { + createdAt: string | number + parsedComment: CommentBodySegment[] commenter: CommenterInterface } diff --git a/client/src/app/components/comments/comment-display/comment-display.module.ts b/client/src/app/components/comments/comment-display/comment-display.module.ts index d09740c79..734575198 100644 --- a/client/src/app/components/comments/comment-display/comment-display.module.ts +++ b/client/src/app/components/comments/comment-display/comment-display.module.ts @@ -5,6 +5,7 @@ import { NzCommentModule } from 'ng-zorro-antd/comment' import { NzAvatarModule } from 'ng-zorro-antd/avatar' import { CvcCommentBodyModule } from '../comment-body/comment-body.module' import { CvcPipesModule } from '@app/core/pipes/pipes.module' +import { NzTypographyModule } from 'ng-zorro-antd/typography' @NgModule({ declarations: [CvcCommentDisplayComponent], @@ -12,8 +13,9 @@ import { CvcPipesModule } from '@app/core/pipes/pipes.module' CommonModule, NzCommentModule, NzAvatarModule, + NzTypographyModule, CvcCommentBodyModule, - CvcPipesModule + CvcPipesModule, ], exports: [CvcCommentDisplayComponent], })