Skip to content

Commit

Permalink
Merge pull request #7033 from JeethJJ/master
Browse files Browse the repository at this point in the history
Change default value for excludeSystemPortals
  • Loading branch information
JeethJJ authored Oct 24, 2024
2 parents cb2c1f9 + f635157 commit b2499a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-goats-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/admin.applications.v1": patch
---

Change default value for excludeSystemPortals
4 changes: 2 additions & 2 deletions features/admin.applications.v1/api/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const getApplicationList = (
limit: number,
offset: number,
filter: string,
excludeSystemPortals:boolean = true
excludeSystemPortals:boolean = false
): Promise<ApplicationListInterface> => {
const requestConfig: AxiosRequestConfig = {
headers: {
Expand Down Expand Up @@ -261,7 +261,7 @@ export const useApplicationList = <Data = ApplicationListInterface, Error = Requ
offset?: number,
filter?: string,
shouldFetch: boolean = true,
excludeSystemPortals: boolean = true
excludeSystemPortals:boolean = false
): RequestResultInterface<Data, Error> => {

const requestConfig: AxiosRequestConfig = shouldFetch
Expand Down
9 changes: 8 additions & 1 deletion features/admin.applications.v1/pages/applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,14 @@ const ApplicationsPage: FunctionComponent<ApplicationsPageInterface> = (
isLoading: isApplicationListFetchRequestLoading,
error: applicationListFetchRequestError,
mutate: mutateApplicationListFetchRequest
} = useApplicationList("advancedConfigurations,templateId,clientId,issuer", listItemLimit, listOffset, searchQuery);
} = useApplicationList(
"advancedConfigurations,templateId,clientId,issuer",
listItemLimit,
listOffset,
searchQuery,
true,
true
);

const {
data: myAccountApplicationData,
Expand Down

0 comments on commit b2499a9

Please sign in to comment.