Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/client/src/ce/pages/Applications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ export function ApplicationsSection(props: any) {
<ResourceListLoader isMobile={isMobile} resources={applications} />
) : (
<>
{!isAiAgentInstanceEnabled && (
{(!isAiAgentInstanceEnabled || !isAiAgentFlowEnabled) && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have approved the PR, but ideally we should have removed the check altogether and just always show nonAnvilApps since there is no agent product now.

<ApplicationCardList
applications={nonAnvilApplications}
canInviteToWorkspace={canInviteToWorkspace}
Expand All @@ -946,7 +946,7 @@ export function ApplicationsSection(props: any) {
workspaceId={activeWorkspace.id}
/>
)}
{isAiAgentFlowEnabled && (
{isAiAgentFlowEnabled && isAiAgentInstanceEnabled && (
<ApplicationCardList
applications={anvilApplications}
canInviteToWorkspace={canInviteToWorkspace}
Expand Down
Loading