1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Making second button to stay outlined

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-10-01 15:19:13 +03:00
parent 3f6e68361e
commit bf1e1ab17e

View File

@ -100,7 +100,9 @@ export class InfoPanel extends Component<Props> {
</div>
<Button plain label={<Trans>Cancel</Trans>} onClick={close} />
<Button
primary active
active
outlined={showSubmitClose}
primary={!showSubmitClose}// one button always should be primary (blue)
label={submitLabel}
onClick={submit}
disabled={isDisabled}