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> </div>
<Button plain label={<Trans>Cancel</Trans>} onClick={close} /> <Button plain label={<Trans>Cancel</Trans>} onClick={close} />
<Button <Button
primary active active
outlined={showSubmitClose}
primary={!showSubmitClose}// one button always should be primary (blue)
label={submitLabel} label={submitLabel}
onClick={submit} onClick={submit}
disabled={isDisabled} disabled={isDisabled}