Support for GV1 -> GV2 migration
This commit is contained in:
parent
a0baa3e03f
commit
2c69f2c367
32 changed files with 2626 additions and 341 deletions
|
@ -38,9 +38,9 @@ export type PropsData = {
|
|||
isMe?: boolean;
|
||||
muteExpiresAt?: number;
|
||||
|
||||
lastUpdated: number;
|
||||
lastUpdated?: number;
|
||||
unreadCount?: number;
|
||||
markedUnread: boolean;
|
||||
markedUnread?: boolean;
|
||||
isSelected: boolean;
|
||||
|
||||
acceptedMessageRequest?: boolean;
|
||||
|
@ -100,7 +100,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
|
|||
isUnread(): boolean {
|
||||
const { markedUnread, unreadCount } = this.props;
|
||||
|
||||
return (isNumber(unreadCount) && unreadCount > 0) || markedUnread;
|
||||
return Boolean((isNumber(unreadCount) && unreadCount > 0) || markedUnread);
|
||||
}
|
||||
|
||||
public renderUnread(): JSX.Element | null {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue