Skip to content

Commit 50254d1

Browse files
[backport core/1.32] mark vue nodes menu toggle with beta tag (#7049)
Backport of #7047 to `core/1.32` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7049-backport-core-1-32-mark-vue-nodes-menu-toggle-with-beta-tag-2bb6d73d36508101bcaee0e236aac373) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne <cbyrne@comfy.org>
1 parent de7d7f5 commit 50254d1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/sidebar/ComfyMenuButton.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
@click.stop="handleNodes2ToggleClick"
7474
>
7575
<span class="p-menubar-item-label text-nowrap">{{ item.label }}</span>
76+
<Tag severity="info" class="ml-2 text-xs">{{ $t('g.beta') }}</Tag>
7677
<ToggleSwitch
7778
v-model="nodes2Enabled"
7879
class="ml-4"
@@ -101,6 +102,7 @@
101102

102103
<script setup lang="ts">
103104
import type { MenuItem } from 'primevue/menuitem'
105+
import Tag from 'primevue/tag'
104106
import TieredMenu from 'primevue/tieredmenu'
105107
import type { TieredMenuMethods, TieredMenuState } from 'primevue/tieredmenu'
106108
import ToggleSwitch from 'primevue/toggleswitch'

src/locales/en/main.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"g": {
3+
"beta": "Beta",
34
"user": "User",
45
"currentUser": "Current user",
56
"empty": "Empty",

0 commit comments

Comments
 (0)