Skip to content

Commit

Permalink
Merge pull request wso2#5137 from pavinduLakshan/show_my_account_saas
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan authored Jan 2, 2024
2 parents b040478 + 7366e98 commit 6151cca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-oranges-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Show my account in applications page for SaaS deployment
12 changes: 10 additions & 2 deletions apps/console/src/features/applications/pages/applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,16 @@ const ApplicationsPage: FunctionComponent<ApplicationsPageInterface> = (
contentTopMargin={ (AppConstants.getTenant() === AppConstants.getSuperTenant()) }
data-testid={ `${ testId }-page-layout` }
>
{ !isMyAccountApplicationDataFetchRequestLoading && myAccountApplicationData?.applications?.length !== 0
&& renderTenantedMyAccountLink() }
{
(
isSAASDeployment
|| (
!isMyAccountApplicationDataFetchRequestLoading
&& myAccountApplicationData?.applications?.length !== 0
)
)
&& renderTenantedMyAccountLink()
}
<ListLayout
advancedSearch={ (
<AdvancedSearchWithBasicFilters
Expand Down

0 comments on commit 6151cca

Please sign in to comment.