mirror of https://github.com/langgenius/dify.git
fix: remove unused showWorkflowEmpty prop from Tools component for cleaner code
This commit is contained in:
parent
2a5bab10b8
commit
d77d86f53b
|
|
@ -50,11 +50,11 @@ const DataSources = ({
|
|||
>
|
||||
<Tools
|
||||
className={toolContentClassName}
|
||||
showWorkflowEmpty={false}
|
||||
tools={dataSources}
|
||||
onSelect={handleSelect as OnSelectBlock}
|
||||
viewType={ViewType.flat}
|
||||
hasSearchText={!!searchText}
|
||||
canNotSelectMultiple
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue