mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			450 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			450 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <woot-button
 | 
						|
    variant="smooth"
 | 
						|
    class="label--add"
 | 
						|
    icon="add"
 | 
						|
    size="tiny"
 | 
						|
    @click="addLabel"
 | 
						|
  >
 | 
						|
    {{ $t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON') }}
 | 
						|
  </woot-button>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
export default {
 | 
						|
  methods: {
 | 
						|
    addLabel() {
 | 
						|
      this.$emit('add');
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 | 
						|
 | 
						|
<style lang="scss" scoped>
 | 
						|
.label--add {
 | 
						|
  margin-bottom: var(--space-micro);
 | 
						|
  margin-right: var(--space-micro);
 | 
						|
}
 | 
						|
</style>
 |