fix: editor incompatibility with firefox79

This commit is contained in:
jialin
2026-01-09 20:51:48 +08:00
parent afcd3e5693
commit 10b2a8b4f9
33 changed files with 12316 additions and 630 deletions
+3 -3
View File
@@ -27,13 +27,13 @@ import UpdateLabels from './update-labels';
import WorkerDetailModal from './worker-detail-modal';
const Workers: React.FC<{
cluster: ClusterListItem;
clusterId: string | number | null;
showSelect?: boolean;
showAddButton?: boolean;
widths?: { input: number };
sourceType?: string;
}> = ({
cluster,
clusterId,
showSelect = true,
showAddButton = true,
widths = { input: 200 },
@@ -62,7 +62,7 @@ const Workers: React.FC<{
watch: true,
API: WORKERS_API,
defaultQueryParams: {
cluster_id: cluster?.id || undefined
cluster_id: clusterId
}
});
const { TerminalPanel, terminals, handleAddTerminal } = useTerminalTabs();