fix: hide 'Apply to VS Code' button for official Codex providers

Official Codex providers don't need VS Code integration since they use the default API endpoint
This commit is contained in:
Jason
2025-09-19 09:19:53 +08:00
parent 3a9a8036d2
commit 9f8c745f8c

View File

@@ -235,7 +235,7 @@ const ProviderList: React.FC<ProviderListProps> = ({
</div>
<div className="flex items-center gap-2 ml-4">
{appType === "codex" && isCurrent && (
{appType === "codex" && isCurrent && provider.category !== "official" && (
<button
onClick={() =>
vscodeAppliedFor === provider.id