mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 03:35:57 +08:00
fix:update document title in Apps component (#2404)
This commit is contained in:
parent
70992609d4
commit
517f6d1a26
@ -53,7 +53,7 @@ const Apps = () => {
|
|||||||
]
|
]
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
document.title = `${t('app.title')} - Dify`
|
document.title = `${t('common.menus.apps')} - Dify`
|
||||||
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
|
if (localStorage.getItem(NEED_REFRESH_APP_LIST_KEY) === '1') {
|
||||||
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)
|
localStorage.removeItem(NEED_REFRESH_APP_LIST_KEY)
|
||||||
mutate()
|
mutate()
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
const translation = {
|
const translation = {
|
||||||
title: 'Studio',
|
|
||||||
createApp: 'Create new App',
|
createApp: 'Create new App',
|
||||||
types: {
|
types: {
|
||||||
all: 'All',
|
all: 'All',
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
const translation = {
|
const translation = {
|
||||||
title: 'Studio',
|
|
||||||
createApp: 'Criar novo aplicativo',
|
createApp: 'Criar novo aplicativo',
|
||||||
modes: {
|
modes: {
|
||||||
completion: 'Gerador de Texto',
|
completion: 'Gerador de Texto',
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
const translation = {
|
const translation = {
|
||||||
title: '工作室',
|
|
||||||
createApp: '创建应用',
|
createApp: '创建应用',
|
||||||
types: {
|
types: {
|
||||||
all: '全部',
|
all: '全部',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user