Fix a bug in 'assistant-setting.tsx' that causes the upload button to… (#796)

… incorrectly appear on the model settings page.

### What problem does this PR solve?

This is an issue with the Upload component on the assistant-setting
page. I use the show variable to explicitly control the button component
within it.

see:

![20240516000417](https://github.com/infiniflow/ragflow/assets/37476944/de88f911-6dbd-412d-a981-86cf60aa2257)


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Other (please describe): Add the local models that DeepDoc depends
on to the gitignore file in dev mode.

Signed-off-by: liuchao <lcjia_you@126.com>
This commit is contained in:
lcjia_you
2024-05-16 10:49:41 +08:00
committed by GitHub
parent 7b144cc086
commit 63ca15c595
2 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ Cargo.lock
docker/ragflow-logs/
/flask_session
/logs
rag/res/deepdoc