fix(web): open thread picker for unsent drafts (#15436)
This commit is contained in:
1 parent
5318d054a5
commit
c8d7d50a73
1 file changed
+2
-2
@@ -50,8 +50,8 @@ function EnabledPullRequestThreadLinks({
|
||||
onPickerOpenChange,
|
||||
}: PullRequestThreadLinksProps) {
|
||||
const parsed = parseChangeRequestUrl(url);
|
||||
const currentThreadRef = threadRef?.environmentId === environmentId ? threadRef : null;
|
||||
const thread = useThreadShell(currentThreadRef);
|
||||
const thread = useThreadShell(threadRef?.environmentId === environmentId ? threadRef : null);
|
||||
const currentThreadRef = thread === null ? null : threadRef;
|
||||
const linking = usePullRequestLinking(environmentId);
|
||||
const linkedHere = linking.isLinked(thread, url);
|
||||
const relations = useEnvironmentQuery(
|
||||
|
||||
Reference in new issue
Block a user