Button Styling changes (#2952)

This commit is contained in:
Dominik Kawka 2022-07-12 09:39:51 +01:00 committed by GitHub
parent 43104b0c9e
commit d20354e7ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -502,7 +502,7 @@ export default function NewClientPolicyForm() {
</Button> </Button>
<Button <Button
id="cancelCreatePolicy" id="cancelCreatePolicy"
variant="secondary" variant="link"
onClick={() => onClick={() =>
showAddConditionsAndProfilesForm || policyName showAddConditionsAndProfilesForm || policyName
? reset() ? reset()
@ -516,7 +516,7 @@ export default function NewClientPolicyForm() {
data-testid="cancelCreatePolicy" data-testid="cancelCreatePolicy"
> >
{showAddConditionsAndProfilesForm {showAddConditionsAndProfilesForm
? t("common:revert") ? t("common:reload")
: t("common:cancel")} : t("common:cancel")}
</Button> </Button>
</ActionGroup> </ActionGroup>

View file

@ -302,7 +302,7 @@ export const PoliciesTab = () => {
{t("save")} {t("save")}
</Button> </Button>
<Button <Button
variant={ButtonVariant.secondary} variant={ButtonVariant.link}
data-testid="jsonEditor-reloadBtn" data-testid="jsonEditor-reloadBtn"
onClick={() => { onClick={() => {
setCode(prettyPrintJSON(tablePolicies)); setCode(prettyPrintJSON(tablePolicies));