Changeset View
Changeset View
Standalone View
Standalone View
src/app/postView/postView.component.ts
Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Lines | export class PostViewComponent implements OnInit, OnDestroy { | ||||
} | } | ||||
isBlockedUser(c: number) { | isBlockedUser(c: number) { | ||||
return this.blockedUsers.includes(String(c)); | return this.blockedUsers.includes(String(c)); | ||||
} | } | ||||
notificationIndication(commentID: number) { | notificationIndication(commentID: number) { | ||||
if (this.parsedCommentArray.indexOf(commentID.toString()) !== -1) { | if (this.parsedCommentArray.indexOf(commentID.toString()) !== -1) { | ||||
return '2px solid #ed763e'; | return '2px solid #EA6C40'; | ||||
} else { | } else { | ||||
return ''; | return ''; | ||||
} | } | ||||
} | } | ||||
openCommentDeleteDialog(c: Comment) { | openCommentDeleteDialog(c: Comment) { | ||||
const dialogRef = this.dialog.open(ConfirmDeletionDialogComponent); | const dialogRef = this.dialog.open(ConfirmDeletionDialogComponent); | ||||
dialogRef.afterClosed() | dialogRef.afterClosed() | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |