mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-11 13:40:23 +02:00
Add files via upload
This commit is contained in:
+11
-3
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user