Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apps/web/src/components/GitActionsControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1299,9 +1299,12 @@ export default function GitActionsControl({
const actionResult = result.value;
syncThreadBranchAfterGitAction(actionResult);
if (isPanel) {
const createdPullRequest = actionResult.pr.status === "created";
setInlineSuccess({
title: actionResult.toast.title,
description: actionResult.toast.description ?? null,
title: createdPullRequest
? `Created ${changeRequestTerminology.shortLabel}`
: actionResult.toast.title,
description: createdPullRequest ? null : (actionResult.toast.description ?? null),
scopeKey: successScopeKey,
});
return;
Expand Down
Loading