fix(ci): satisfy format check and types after main rebase

Narrow plugin rows in search results and compare org-role visibility
against the route handle so types-build passes on rebased main.
This commit is contained in:
vyctorbrzezowski
2026-06-25 11:45:03 -07:00
committed by Patrick Erichsen
parent 3568288c91
commit 8df8d9f550
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -228,9 +228,9 @@ function UnifiedSearchPage() {
{results.map((item) =>
item.type === "skill" ? (
<SkillResultRow key={`skill-${item.skill._id}`} result={item} />
) : (
) : item.type === "plugin" ? (
<PluginResultRow key={`plugin-${item.plugin.name}`} result={item} />
),
) : null,
)}
</div>
)}
@@ -340,4 +340,3 @@ function SkillResultRow({ result }: { result: UnifiedSkillResult }) {
function PluginResultRow({ result }: { result: UnifiedPluginResult }) {
return <PluginListItem item={result.plugin} />;
}
+1 -2
View File
@@ -556,8 +556,7 @@ export function PublisherProfilePage({
() => Boolean(myPublisherMemberships?.some((entry) => entry.publisher.handle === handle)),
[myPublisherMemberships, handle],
);
const viewerCanSeeOrgRoles =
isAdmin(me) || (me?.handle != null && me.handle === publisher.handle);
const viewerCanSeeOrgRoles = isAdmin(me) || (me?.handle != null && me.handle === handle);
const {
results: publishedResults,