Skip to content

Commit

Permalink
Comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Oct 20, 2023
1 parent 5d15dac commit 778a912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/real-plums-hide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"@wso2is/identity-apps-core": patch
---

Create role interface started
Add create role UI
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const CreateRoleWizard: FunctionComponent<CreateRoleProps> = (props: Crea
const [ stepperState, setStepperState ] = useState<CreateRoleStateInterface>(undefined);
const [ isBasicDetailsNextButtonDisabled, setIsBasicDetailsNextButtonDisabled ] = useState<boolean>(true);

//External trigger to submit the authorization step.
// External trigger to submit the authorization step.
let submitRoleBasic: () => void;

/**
Expand All @@ -68,7 +68,7 @@ export const CreateRoleWizard: FunctionComponent<CreateRoleProps> = (props: Crea
triggerSubmission={ (submitFunctionCb: () => void) => {
submitRoleBasic = submitFunctionCb;
} }
setIsNextDisabled={ setIsBasicDetailsNextButtonDisabled }
setIsNextDisabled={ setIsBasicDetailsNextButtonDisabled }
initialValues={ stepperState && stepperState[ CreateRoleStepsFormTypes.BASIC_DETAILS ] }
onSubmit={ (values: CreateRoleFormData) => {
handleWizardSubmit(values, CreateRoleStepsFormTypes.BASIC_DETAILS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const RoleBasics: FunctionComponent<RoleBasicProps> = (props: RoleBasicPr
data-componentid={ `${componentId}-${audience}-audience` }
listen={ () => setRoleAudience(audience) }
hint={
index === Object.keys(RoleAudiences).length- 1
index === Object.keys(RoleAudiences).length - 1
? (
<Trans
i18nKey= { "console:manage.features.roles.addRoleWizard.forms." +
Expand Down

0 comments on commit 778a912

Please sign in to comment.