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

View file

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