mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 02:02:27 +00:00
Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
30 lines
528 B
Vue
30 lines
528 B
Vue
<script>
|
|
import { BUS_EVENTS } from 'shared/constants/busEvents';
|
|
import { emitter } from 'shared/helpers/mitt';
|
|
|
|
export default {
|
|
props: {
|
|
size: {
|
|
type: String,
|
|
default: 'small',
|
|
},
|
|
},
|
|
methods: {
|
|
onMenuItemClick() {
|
|
emitter.emit(BUS_EVENTS.TOGGLE_SIDEMENU);
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<woot-button
|
|
:size="size"
|
|
variant="clear"
|
|
color-scheme="secondary"
|
|
class="-ml-3 text-black-900 dark:text-slate-300"
|
|
icon="list"
|
|
@click="onMenuItemClick"
|
|
/>
|
|
</template>
|