2021-05-06 14:03:36 +00:00
|
|
|
<template>
|
2022-06-20 09:39:22 +00:00
|
|
|
<woot-button
|
|
|
|
variant="smooth"
|
|
|
|
class="label--add"
|
|
|
|
icon="add"
|
|
|
|
size="tiny"
|
|
|
|
@click="addLabel"
|
|
|
|
>
|
|
|
|
{{ $t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON') }}
|
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 {
|
2022-06-20 09:39:22 +00:00
|
|
|
margin-bottom: var(--space-micro);
|
|
|
|
margin-right: var(--space-micro);
|
2021-05-17 06:30:08 +00:00
|
|
|
}
|
|
|
|
</style>
|