diff --git a/apps/studio/src/features/dashboard/components/DirectorySidebar/useIsActive.ts b/apps/studio/src/features/dashboard/components/DirectorySidebar/useIsActive.ts index e57201db03..7c64446808 100644 --- a/apps/studio/src/features/dashboard/components/DirectorySidebar/useIsActive.ts +++ b/apps/studio/src/features/dashboard/components/DirectorySidebar/useIsActive.ts @@ -28,8 +28,9 @@ export const useIsActive = ( case ResourceType.IndexPage: return siteProps.resourceId === currentResourceId case ResourceType.Folder: - case ResourceType.Collection: return siteProps.folderId === currentResourceId + case ResourceType.Collection: + return siteProps.resourceId === currentResourceId case ResourceType.CollectionLink: return siteProps.linkId === currentResourceId case ResourceType.FolderMeta: