mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	fix: Clicking contact name in conversation should open contact details panel (#6580)
* chore: support panel trigger on contact name click Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com> * Update ConversationHeader.vue --------- Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
		@@ -10,8 +10,16 @@
 | 
			
		||||
          :status="currentContact.availability_status"
 | 
			
		||||
        />
 | 
			
		||||
        <div class="user--profile__meta">
 | 
			
		||||
          <h3 class="user--name text-truncate">
 | 
			
		||||
            <span class="margin-right-smaller">{{ currentContact.name }}</span>
 | 
			
		||||
          <woot-button
 | 
			
		||||
            variant="link"
 | 
			
		||||
            color-scheme="secondary"
 | 
			
		||||
            class="text-truncate"
 | 
			
		||||
            @click.prevent="$emit('contact-panel-toggle')"
 | 
			
		||||
          >
 | 
			
		||||
            <h3 class="sub-block-title user--name text-truncate">
 | 
			
		||||
              <span class="margin-right-smaller">{{
 | 
			
		||||
                currentContact.name
 | 
			
		||||
              }}</span>
 | 
			
		||||
              <fluent-icon
 | 
			
		||||
                v-if="!isHMACVerified"
 | 
			
		||||
                v-tooltip="$t('CONVERSATION.UNVERIFIED_SESSION')"
 | 
			
		||||
@@ -20,6 +28,7 @@
 | 
			
		||||
                icon="warning"
 | 
			
		||||
              />
 | 
			
		||||
            </h3>
 | 
			
		||||
          </woot-button>
 | 
			
		||||
          <div class="conversation--header--actions text-truncate">
 | 
			
		||||
            <inbox-name
 | 
			
		||||
              v-if="hasMultipleInboxes"
 | 
			
		||||
@@ -201,11 +210,10 @@ export default {
 | 
			
		||||
 | 
			
		||||
.user--name {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  font-size: var(--font-size-medium);
 | 
			
		||||
  line-height: 1.3;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  line-height: 1.2;
 | 
			
		||||
  text-transform: capitalize;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  padding: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.conversation--header--actions {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user