Kusuma04-dev commented on code in PR #3119:
URL:
https://github.com/apache/incubator-kie-tools/pull/3119#discussion_r2078377742
##########
packages/online-editor/src/editor/Toolbar/Accelerators/AcceleratorModal.tsx:
##########
@@ -46,7 +108,12 @@ export function AcceleratorModal(props: Props) {
variant={ModalVariant.medium}
actions={
props.isApplying && [
- <Button key="apply" variant="primary"
onClick={props.onApplyAccelerator}>
+ <Button
+ key="apply"
+ variant="primary"
+ onClick={() => props.onApplyAccelerator?.(selectedAuthSessionId)}
+ isDisabled={!isCompatibleAuthSession}
Review Comment:
Yeah , For public repos where no compatible Authsession is there we should
enable Apply button to user. So I have enabled it everytime now irrespective of
compatible Authsession. Thanks for pointing this @thiagoelg .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]