Add files via upload

This commit is contained in:
公明
2026-06-26 23:54:29 +08:00
committed by GitHub
parent 49990ecb4f
commit 70e5d28619
+11 -3
View File
@@ -8409,9 +8409,16 @@ function refreshChatPanelI18n() {
document.addEventListener('languagechange', function () { document.addEventListener('languagechange', function () {
refreshSystemReadyMessageBubbles(); refreshSystemReadyMessageBubbles();
refreshChatPanelI18n(); refreshChatPanelI18n();
const modal = document.getElementById('batch-manage-modal'); if (typeof refreshConversationProjectFilter === 'function') {
if (isAppModalOpen('batch-manage-modal')) { refreshConversationProjectFilter();
refreshBatchProjectFilter().then(() => applyBatchConversationFilters()); }
if (typeof refreshBatchProjectFilter === 'function') {
refreshBatchProjectFilter().then(() => {
const modal = document.getElementById('batch-manage-modal');
if (modal && isAppModalOpen('batch-manage-modal') && typeof applyBatchConversationFilters === 'function') {
applyBatchConversationFilters();
}
});
} }
// 侧边栏最近对话等列表的时间戳会随语言变化(24h/12h 等),重新拉列表以统一格式 // 侧边栏最近对话等列表的时间戳会随语言变化(24h/12h 等),重新拉列表以统一格式
if (typeof loadConversationsWithGroups === 'function') { if (typeof loadConversationsWithGroups === 'function') {
@@ -9342,6 +9349,7 @@ function clearGroupSearch() {
// 初始化时加载分组 // 初始化时加载分组
document.addEventListener('DOMContentLoaded', async () => { document.addEventListener('DOMContentLoaded', async () => {
if (window.i18nReady) await window.i18nReady;
updateConversationSortMenuUI(); updateConversationSortMenuUI();
initConversationProjectCustomSelect(); initConversationProjectCustomSelect();
await refreshConversationProjectFilter(); await refreshConversationProjectFilter();