mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
mrege
This commit is contained in:
@ -28,7 +28,8 @@ import {
|
||||
import * as React from 'react'
|
||||
import { GeneratorType } from '@/app/components/app/configuration/config/automatic/types'
|
||||
import { VarType } from '@/app/components/workflow/types'
|
||||
import { EventEmitterContextProvider, useEventEmitterContextContext } from '@/context/event-emitter'
|
||||
import { useEventEmitterContextContext } from '@/context/event-emitter'
|
||||
import { EventEmitterContextProvider } from '@/context/event-emitter-provider'
|
||||
import { INSERT_CONTEXT_BLOCK_COMMAND } from '../../context-block'
|
||||
import { INSERT_CURRENT_BLOCK_COMMAND } from '../../current-block'
|
||||
import { INSERT_ERROR_MESSAGE_BLOCK_COMMAND } from '../../error-message-block'
|
||||
|
||||
@ -23,7 +23,7 @@ export const PromptMenuItem = memo(({
|
||||
className={`
|
||||
flex h-6 cursor-pointer items-center rounded-md px-3 hover:bg-state-base-hover
|
||||
${isSelected && !disabled && '!bg-state-base-hover'}
|
||||
${disabled ? 'cursor-not-allowed opacity-30' : 'cursor-pointer hover:bg-state-base-hover'}
|
||||
${disabled ? 'cursor-not-allowed opacity-30' : ''}
|
||||
`}
|
||||
tabIndex={-1}
|
||||
ref={setRefElement}
|
||||
|
||||
Reference in New Issue
Block a user