mirror of
https://github.com/koel/koel
synced 2024-12-22 02:23:14 +00:00
15 lines
468 B
Vue
15 lines
468 B
Vue
|
<template>
|
||
|
<ExtraDrawerButton v-koel-tooltip.left title="Log out" @click.prevent="logout">
|
||
|
<Icon :icon="faArrowRightFromBracket" />
|
||
|
</ExtraDrawerButton>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { faArrowRightFromBracket } from '@fortawesome/free-solid-svg-icons'
|
||
|
import { eventBus } from '@/utils'
|
||
|
|
||
|
import ExtraDrawerButton from '@/components/layout/main-wrapper/extra-drawer/ExtraDrawerButton.vue'
|
||
|
|
||
|
const logout = () => eventBus.emit('LOG_OUT')
|
||
|
</script>
|