mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
add "add block" shortcut ui
This commit is contained in:
parent
18b61591b8
commit
4fcb048607
|
@ -75,7 +75,7 @@ const AddBlock = ({
|
|||
|
||||
const renderTriggerElement = useCallback((open: boolean) => {
|
||||
return (
|
||||
<TipPopup title={t('workflow.common.addBlock')}>
|
||||
<TipPopup title={t('workflow.common.addBlock')} shortcuts={['shift', 'a']}>
|
||||
<div className={cn(
|
||||
'flex items-center justify-center w-8 h-8 rounded-lg hover:bg-black/5 hover:text-gray-700 cursor-pointer',
|
||||
`${nodesReadOnly && '!cursor-not-allowed opacity-50'}`,
|
||||
|
|
Loading…
Reference in New Issue
Block a user