We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07127f4 commit d958b70Copy full SHA for d958b70
src/components/Admin/common/RepositorySidebarOverlay/index.tsx
@@ -157,10 +157,10 @@ export const RepositorySidebarOverlay = ({
157
},
158
{
159
spanCodeObjectId: newSpanCodeObjectId,
160
- tabLocation: { id: TAB_IDS.ISSUES }
+ tabLocation: sidebarLocation ?? { id: TAB_IDS.ISSUES }
161
}
162
);
163
- }, [history, sidebarQuery?.query?.scopedSpanCodeObjectId]);
+ }, [history, sidebarQuery?.query?.scopedSpanCodeObjectId, sidebarLocation]);
164
165
const handleSidebarClose = useCallback(() => {
166
dispatch(clear());
0 commit comments