fix:update document title in Apps component (#2404)

This commit is contained in:
Benjamin 2024-02-06 12:23:54 +08:00 committed by GitHub
commit 517f6d1a26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 4 deletions

View file

@ -53,7 +53,7 @@ const Apps = () => {
]
useEffect(() => {
document.title = `${t('app.title')} - Dify`
document.title = `${t('common.menus.apps')} - Dify`
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)
mutate()