@industry-theme/github-panels 0.1.62 → 0.1.63
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubSearchPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubSearchPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,KAAK,EAMV,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"GitHubSearchPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubSearchPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,KAAK,EAMV,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAwWzB;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAE9D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -1998,7 +1998,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
|
|
|
1998
1998
|
[(_b = workspaceReposSlice == null ? void 0 : workspaceReposSlice.data) == null ? void 0 : _b.repositories]
|
|
1999
1999
|
);
|
|
2000
2000
|
const collectionRepoSet = useMemo(() => {
|
|
2001
|
-
return new Set(collectionRepos.map((r2) => r2.
|
|
2001
|
+
return new Set(collectionRepos.map((r2) => r2.path));
|
|
2002
2002
|
}, [collectionRepos]);
|
|
2003
2003
|
const panelActions = actions;
|
|
2004
2004
|
const searchAvailable = Boolean(panelActions.searchRepositories);
|
|
@@ -2284,7 +2284,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
|
|
|
2284
2284
|
onSelect: handleSelectRepository,
|
|
2285
2285
|
isSelected: selectedRepoId === repo.id,
|
|
2286
2286
|
onAddToCollection: currentWorkspace ? handleAddToCollection : void 0,
|
|
2287
|
-
isInCollection: collectionRepoSet.has(repo.full_name),
|
|
2287
|
+
isInCollection: collectionRepoSet.has(`/GitHub/${repo.full_name}`),
|
|
2288
2288
|
collectionName
|
|
2289
2289
|
},
|
|
2290
2290
|
repo.id
|