Skip to content

Commit

Permalink
fix(ui): always enable 'lock only' button (#2083)
Browse files Browse the repository at this point in the history
Ref: SRX-2VGP74
  • Loading branch information
AminSlk authored Nov 4, 2024
1 parent 446168c commit cca2ef3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ exports[`Release Dialog Renders the environment locks two envs release 1`] = `
<button
aria-label=""
class="mdc-button button-expand"
disabled=""
>
<div
class="mdc-button__ripple"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const ExpandButton = (props: ExpandButtonProps): JSX.Element => {
{/* the button to expand the dialog: */}
<Button
onClick={onClickExpand}
disabled={props.disabled}
className={'button-expand'}
key={'button-second-key'}
label={''}
Expand All @@ -95,6 +94,7 @@ export const ExpandButton = (props: ExpandButtonProps): JSX.Element => {
label={'Deploy only'}
icon={undefined}
highlightEffect={true}
disabled={props.disabled}
/>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Copyright freiheit.com*/
border-radius: 14px;
border-color: blue;
border-style: groove;
.button-popup-deploy {
&:disabled {
color: grey;
}
}

.first-two {
height: 36px;
Expand Down

0 comments on commit cca2ef3

Please sign in to comment.