Skip to content

Commit

Permalink
search: tweak upsell
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Jan 31, 2025
1 parent da402b2 commit 3911457
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SearchCommand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function SearchCommand({ src, props }: { src: Sourcegraph; props?
<List.Item
title="Create a Sourcegraph workspace"
subtitle="Get an AI & search experience for your private code"
icon={{ source: Icon.Gift, tintColor: ColorEmphasis }}
icon={{ source: Icon.Stars, tintColor: ColorEmphasis }}
actions={
<ActionPanel>
<Action.OpenInBrowser
Expand Down
4 changes: 2 additions & 2 deletions src/sourcegraph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function sourcegraphDotCom(): Promise<Sourcegraph> {
defaultContext: searchPrefs.cloudDefaultContext,
client: newApolloClient(connect),
featureFlags: newFeatureFlags(prefs),
hasCustomSourcegraphConnection: true,
hasCustomSourcegraphConnection: !!(prefs.customInstance && prefs.customInstanceToken),
};
}

Expand All @@ -106,7 +106,7 @@ export function sourcegraphInstance(): Sourcegraph | null {
defaultContext: searchPrefs.customInstanceDefaultContext,
client: newApolloClient(connect),
featureFlags: newFeatureFlags(prefs),
hasCustomSourcegraphConnection: !!(prefs.customInstance && prefs.customInstanceToken),
hasCustomSourcegraphConnection: true,
};
}

Expand Down

0 comments on commit 3911457

Please sign in to comment.