2021-05-06 14:03:36 +00:00
|
|
|
<template>
|
2021-05-27 02:54:29 +00:00
|
|
|
<woot-button variant="link" class="label--add" @click="addLabel">
|
|
|
|
<woot-label
|
|
|
|
color-scheme="secondary"
|
2021-06-14 05:06:00 +00:00
|
|
|
:title="$t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON')"
|
2021-05-27 02:54:29 +00:00
|
|
|
icon="ion-plus-round"
|
|
|
|
/>
|
2021-05-17 06:30:08 +00:00
|
|
|
</woot-button>
|
2021-05-06 14:03:36 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
methods: {
|
2021-05-27 02:54:29 +00:00
|
|
|
addLabel() {
|
2021-05-06 14:03:36 +00:00
|
|
|
this.$emit('add');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
2021-05-17 06:30:08 +00:00
|
|
|
<style lang="scss" scoped>
|
2021-05-27 02:54:29 +00:00
|
|
|
.label--add {
|
|
|
|
&::v-deep .label {
|
|
|
|
cursor: pointer;
|
|
|
|
background: transparent;
|
2021-09-05 18:49:09 +00:00
|
|
|
border-color: var(--s-600);
|
2021-05-27 02:54:29 +00:00
|
|
|
margin: 0;
|
2021-05-17 06:30:08 +00:00
|
|
|
|
2021-05-27 02:54:29 +00:00
|
|
|
&:hover {
|
|
|
|
background: var(--s-50);
|
|
|
|
}
|
2021-05-17 06:30:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|