diff --git a/src/pages/clients/show/components/Gateways.tsx b/src/pages/clients/show/components/Gateways.tsx index 35acaa54f..420dd1d25 100644 --- a/src/pages/clients/show/components/Gateways.tsx +++ b/src/pages/clients/show/components/Gateways.tsx @@ -206,23 +206,37 @@ export function Gateways(props: Props) { {token.is_default && (
- {t('default')} +
+ {t('save_as_default')} +
{isAdmin && ( +
-
+
} minWidth="9rem" maxWidth="11rem" @@ -242,27 +256,45 @@ export function Gateways(props: Props) { {!token.is_default && (
-
handleSetDefault(token.id)} - theme={{ hoverBgColor: colors.$5 }} +
- {t('save_as_default')} +
handleSetDefault(token.id)} + style={{ + borderColor: colors.$5, + }} + theme={{ hoverBgColor: colors.$5 }} + > + {t('save_as_default')} +
{isAdmin && ( +
-
+
} - minWidth="9rem" - maxWidth="11rem" + minWidth="10rem" + maxWidth="12rem" + style={{ + borderColor: colors.$5, + }} > } @@ -272,7 +304,7 @@ export function Gateways(props: Props) { )} -
+
)}