Skip to content

Commit d958b70

Browse files
committed
Fix links to errors
1 parent 07127f4 commit d958b70

File tree

1 file changed

+2
-2
lines changed
  • src/components/Admin/common/RepositorySidebarOverlay

1 file changed

+2
-2
lines changed

src/components/Admin/common/RepositorySidebarOverlay/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ export const RepositorySidebarOverlay = ({
157157
},
158158
{
159159
spanCodeObjectId: newSpanCodeObjectId,
160-
tabLocation: { id: TAB_IDS.ISSUES }
160+
tabLocation: sidebarLocation ?? { id: TAB_IDS.ISSUES }
161161
}
162162
);
163-
}, [history, sidebarQuery?.query?.scopedSpanCodeObjectId]);
163+
}, [history, sidebarQuery?.query?.scopedSpanCodeObjectId, sidebarLocation]);
164164

165165
const handleSidebarClose = useCallback(() => {
166166
dispatch(clear());

0 commit comments

Comments
 (0)