mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
20 lines
479 B
Vue
20 lines
479 B
Vue
<template>
|
|
<SidebarIcon
|
|
:tooltip="$t('menu.toggleBottomPanel')"
|
|
:selected="bottomPanelStore.activePanel == 'terminal'"
|
|
@click="bottomPanelStore.toggleBottomPanel"
|
|
>
|
|
<template #icon>
|
|
<i-ph:terminal-bold />
|
|
</template>
|
|
</SidebarIcon>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useBottomPanelStore } from '@/stores/workspace/bottomPanelStore'
|
|
|
|
import SidebarIcon from './SidebarIcon.vue'
|
|
|
|
const bottomPanelStore = useBottomPanelStore()
|
|
</script>
|