소스 검색

fix: can not input param value in tool test modal (#7281)

tags/0.7.1
wellCh4n 1 년 전
부모
커밋
8f5d8397f9
No account linked to committer's email address
1개의 변경된 파일25개의 추가작업 그리고 25개의 파일을 삭제
  1. 25
    25
      web/app/components/tools/edit-custom-collection-modal/index.tsx

+ 25
- 25
web/app/components/tools/edit-custom-collection-modal/index.tsx 파일 보기

<Button variant='primary' onClick={handleSave}>{t('common.operation.save')}</Button> <Button variant='primary' onClick={handleSave}>{t('common.operation.save')}</Button>
</div> </div>
</div> </div>
{showEmojiPicker && <EmojiPicker
onSelect={(icon, icon_background) => {
setEmoji({ content: icon, background: icon_background })
setShowEmojiPicker(false)
}}
onClose={() => {
setShowEmojiPicker(false)
}}
/>}
{credentialsModalShow && (
<ConfigCredentials
positionCenter={isAdd}
credential={credential}
onChange={setCredential}
onHide={() => setCredentialsModalShow(false)}
/>)
}
{isShowTestApi && (
<TestApi
positionCenter={isAdd}
tool={currTool as CustomParamSchema}
customCollection={customCollection}
onHide={() => setIsShowTestApi(false)}
/>
)}
</div> </div>
} }
isShowMask={true} isShowMask={true}
clickOutsideNotOpen={true} clickOutsideNotOpen={true}
/> />
{showEmojiPicker && <EmojiPicker
onSelect={(icon, icon_background) => {
setEmoji({ content: icon, background: icon_background })
setShowEmojiPicker(false)
}}
onClose={() => {
setShowEmojiPicker(false)
}}
/>}
{credentialsModalShow && (
<ConfigCredentials
positionCenter={isAdd}
credential={credential}
onChange={setCredential}
onHide={() => setCredentialsModalShow(false)}
/>)
}
{isShowTestApi && (
<TestApi
positionCenter={isAdd}
tool={currTool as CustomParamSchema}
customCollection={customCollection}
onHide={() => setIsShowTestApi(false)}
/>
)}
</> </>


) )

Loading…
취소
저장