Elffuss BraidHub

kikocis/continue public

Merge pull request #7874 from tommypurcell/fix-report-this-error-links

add if statement to check url starts with "http" then go to url directly
Changeset3ff29c567dd0708735990ea5f931880b76617e0ca4c6bbd00a9eb282a2d20cdf
AuthorDallin Romney <dallinromney@gmail.com> · 2025-09-25 15:39 -07:00
CommitterGitHub <noreply@github.com> · 2025-09-25 15:39 -07:00
Parents673d347e418c, 03a6822b22b4

Browse the files at this changeset

1 file changed

modified gui/src/pages/gui/StreamError.tsx +2 −8
@@ -290,10 +290,7 @@
290290 <GhostButton
291291 className="flex flex-row items-center gap-2 rounded px-3 py-1.5"
292292 onClick={() => {
293- ideMessenger.post("controlPlane/openUrl", {
294- path: GITHUB_LINK,
295- orgSlug: undefined,
296- });
293+ ideMessenger.post("openUrl", GITHUB_LINK);
297294 }}
298295 >
299296 <GithubIcon className="h-5 w-5" />
@@ -302,10 +299,7 @@
302299 <GhostButton
303300 className="flex flex-row items-center gap-2 rounded px-3 py-1.5"
304301 onClick={() => {
305- ideMessenger.post("controlPlane/openUrl", {
306- path: DISCORD_LINK,
307- orgSlug: undefined,
308- });
302+ ideMessenger.post("openUrl", DISCORD_LINK);
309303 }}
310304 >
311305 <DiscordIcon className="h-5 w-5" />