fix: issue peekoverview handled state and query parameters handlers (#4475)

This commit is contained in:
guru_sainath 2024-05-16 13:14:36 +05:30 committed by GitHub
parent 2bf2e98b00
commit 507d7da717
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 43 additions and 25 deletions

View file

@ -69,7 +69,9 @@ export const ProjectDetailsView: FC<ProjectDetailsViewProps> = observer((props)
return (
<div className="relative h-full w-full overflow-hidden">
{workspaceSlug && <IssuePeekOverview />}
{workspaceSlug && projectId && peekId && (
<IssuePeekOverview workspaceSlug={workspaceSlug} projectId={projectId} peekId={peekId} />
)}
{loader && !issues ? (
<div className="py-10 text-center text-sm text-custom-text-100">Loading...</div>