Skip to content

Commit 56b37ec

Browse files
committed
updates
1 parent 580dfb5 commit 56b37ec

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

nohup.out

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[plugin:vite:reporter] [plugin vite:reporter]
2+
(!) /home/ubuntu/Ops-Center-OSS/src/components/HelpPanel.jsx is dynamically imported by /home/ubuntu/Ops-Center-OSS/src/App.jsx but also statically imported by /home/ubuntu/Ops-Center-OSS/src/components/Layout.jsx, dynamic import will not move module into another chunk.
3+
4+
5+
(!) Some chunks are larger than 1000 kB after minification. Consider:
6+
- Using dynamic import() to code-split the application
7+
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
8+
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.

src/pages/admin/ModelListManagement.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,10 @@ const ModelListManagement = () => {
545545
useEffect(() => {
546546
if (lists.length > 0) {
547547
const appId = defaultApps[tabValue]?.id;
548-
// Match empty string, null, or undefined for Global tab
548+
// Match empty string, null, undefined, or 'global' for Global tab
549549
const list = lists.find(l => {
550550
if (appId === null) {
551-
return !l.app_identifier || l.app_identifier === '';
551+
return !l.app_identifier || l.app_identifier === '' || l.app_identifier === 'global';
552552
}
553553
return l.app_identifier === appId;
554554
});

0 commit comments

Comments
 (0)