mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8054-Linear-mode-bug-fixes-2e86d73d365081ed8d75d6e2af679f6c) by [Unito](https://www.unito.io)
22 lines
638 B
Vue
22 lines
638 B
Vue
<template>
|
|
<Button
|
|
class="comfy-help-center-btn relative text-base-foreground"
|
|
variant="textonly"
|
|
@click="toggleHelpCenter"
|
|
>
|
|
<div class="not-md:hidden">{{ $t('menu.helpAndFeedback') }}</div>
|
|
<i class="icon-[lucide--circle-help] ml-0.5" />
|
|
<span
|
|
v-if="shouldShowRedDot"
|
|
class="absolute top-[7px] right-[7px] size-1.5 rounded-full bg-[#ff3b30]"
|
|
/>
|
|
</Button>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Button from '@/components/ui/button/Button.vue'
|
|
import { useHelpCenter } from '@/composables/useHelpCenter'
|
|
|
|
const { shouldShowRedDot, toggleHelpCenter } = useHelpCenter('topbar')
|
|
</script>
|