mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Only color the display name when it is editable.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<EditableText
|
||||
:model-value="displayName"
|
||||
:is-editing="isEditingDisplayName"
|
||||
class="break-all text-base-foreground"
|
||||
:class="cn('break-all', !isImmutable && 'text-base-foreground')"
|
||||
@dblclick="isEditingDisplayName = !isImmutable"
|
||||
@edit="handleDisplayNameEdit"
|
||||
@cancel="isEditingDisplayName = false"
|
||||
|
||||
Reference in New Issue
Block a user