cicy-desktop 2.1.161 → 2.1.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  <link rel="icon" type="image/svg+xml" href="./favicon.svg" />
7
7
  <link rel="icon" type="image/png" sizes="256x256" href="./favicon-256.png" />
8
8
  <title>CiCy Desktop</title>
9
- <script type="module" crossorigin src="./assets/index-BQDe_2_G.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-Bjk4cJyU.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="./assets/index-Cuc3w0O-.css">
11
11
  </head>
12
12
  <body>
@@ -833,7 +833,11 @@ export default function App() {
833
833
  )}
834
834
 
835
835
  <div className="app__grid">
836
- {showLocal && localList.map((t) => (
836
+ {/* The docker team (:8008) is rendered ONCE — as the dedicated <DockerCard>
837
+ below, NOT also as a LocalTeamCard here. Since :8008 is now BOTH the local
838
+ sidecar port AND the docker app port, it matched localList + dockerTeam and
839
+ rendered twice (the duplicate card). Exclude it from this map. */}
840
+ {showLocal && localList.filter((t) => !isDockerApp(t.base_url)).map((t) => (
837
841
  <LocalTeamCard key={"local:" + t.id} team={t} onOpen={() => openLocalTeam(t.id)} onRename={renameLocalTeam} onRefresh={fetchLocalTeams} />
838
842
  ))}
839
843
  {/* 占位卡 (主人: "本地团队没有占位"): a fresh install starts the sidecar