Skip to content

Commit

Permalink
Merge pull request wso2#6822 from DilshanSenarath/sub-org-tab
Browse files Browse the repository at this point in the history
[Bug] Fix the issue where the sub-organization application edit section lands on the login-flow tab
  • Loading branch information
DilshanSenarath committed Aug 26, 2024
2 parents ab25544 + f37cf0c commit 6136233
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/red-berries-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/admin.applications.v1": patch
---

Fix the issue where the sub-organization application edit section lands on the login-flow tab
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,9 @@ export const EditApplication: FunctionComponent<EditApplicationPropsInterface> =

let defaultTab: number | string = 0;

if(applicationConfig.editApplication.extendTabs && template?.id !== CustomApplicationTemplate.id) {
if(applicationConfig.editApplication.extendTabs
&& template?.id !== CustomApplicationTemplate.id
&& !isSubOrganization()) {
defaultTab = 1;
}

Expand Down

0 comments on commit 6136233

Please sign in to comment.