Skip to content

Commit cd548d0

Browse files
committed
fix: Locales
1 parent a7afdb7 commit cd548d0

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apps/locales/zh_Hant/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8626,5 +8626,5 @@ msgstr "添加個人系統API KEY"
86268626
msgid "Generate related documents"
86278627
msgstr "生成相關文檔"
86288628

8629-
msgid "Generate related documents"
8629+
msgid "Modify application access token"
86308630
msgstr "修改應用程序訪問權杖"

ui/src/views/login/index.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,7 @@ const loginHandle = () => {
192192
login.asyncLogin(loginForm.value, loading).then(() => {
193193
locale.value = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
194194
localStorage.setItem('workspace_id', 'default')
195-
if (hasPermission([RoleConst.ADMIN, RoleConst.EXTENDS_ADMIN], 'OR')) {
196-
router.push({name: 'user'})
197-
} else {
198195
router.push({name: 'home'})
199-
}
200-
201196
})
202197
}
203198
})

0 commit comments

Comments
 (0)