mirror of https://github.com/langgenius/dify.git
chore: remove auto show modal
This commit is contained in:
parent
a98b5ca97e
commit
916bacb60e
|
|
@ -83,7 +83,7 @@ const Authorization: FC<Props> = ({
|
|||
}, [tempPayload, onChange, onHide])
|
||||
return (
|
||||
<Modal
|
||||
title='Authorization'
|
||||
title={t(`${i18nPrefix}.authorization`)}
|
||||
wrapperClassName='z-50 w-400'
|
||||
isShow={isShow}
|
||||
onClose={onHide}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ const useConfig = (initInputs: HttpNodeType) => {
|
|||
const [isShowAuthorization, {
|
||||
setTrue: showAuthorization,
|
||||
setFalse: hideAuthorization,
|
||||
}] = useBoolean(true)
|
||||
}] = useBoolean(false)
|
||||
|
||||
const setAuthorization = useCallback((authorization: Authorization) => {
|
||||
const newInputs = produce(inputs, (draft: HttpNodeType) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue