-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1234] add old conversation header bar to core UI #1593
[#1234] add old conversation header bar to core UI #1593
Conversation
@@ -44,7 +44,7 @@ const ConversationListItem = (props: ConversationListItemProps) => { | |||
|
|||
const participant = conversation.metadata.contact; | |||
const unread = conversation.metadata.unreadCount > 0; | |||
const currentConversationState = conversation.metadata.state; | |||
const currentConversationState = conversation.metadata.state || 'OPEN'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to add a check here because when a new conversation is created conversation.metadata.state
is undefined
border-bottom: 5px var(--color-red-alert) solid; | ||
} | ||
|
||
.conversationStatus.open .openButton { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that you need to prefix all of them with .conversationStatus
? Because this is a css module there should already be an automatic prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true! this is totally unnecessary, will fix!
closes #1523