improvements: address feedback

This commit is contained in:
Scott Wilson
2025-09-12 19:07:54 -07:00
parent 93e5cf4b2b
commit 8fee3c3882
7 changed files with 31 additions and 44 deletions
@@ -107,7 +107,7 @@ export const SecretRotationV2ConnectionField = ({ onChange: callback, isUpdate }
{!isUpdate && !isPending && !availableConnections?.length && !canCreateConnection && (
<p className="-mt-2.5 mb-2.5 text-xs text-yellow">
<FontAwesomeIcon className="mr-1" size="xs" icon={faInfoCircle} />
You do not have access to any ${appName} Connections. Contact an admin to create one.
You do not have access to any {appName} Connections. Contact an admin to create one.
</p>
)}
<AddAppConnectionModal
@@ -108,7 +108,7 @@ export const SecretScanningDataSourceConnectionField = ({
{!isUpdate && !isPending && !availableConnections?.length && !canCreateConnection && (
<p className="-mt-2.5 mb-2.5 text-xs text-yellow">
<FontAwesomeIcon className="mr-1" size="xs" icon={faInfoCircle} />
You do not have access to any ${connectionName} Connections. Contact an admin to create
You do not have access to any {connectionName} Connections. Contact an admin to create
one.
</p>
)}
@@ -91,7 +91,7 @@ export const SecretSyncConnectionField = ({ onChange: callback }: Props) => {
{!isPending && !availableConnections?.length && !canCreateConnection && (
<p className="-mt-2.5 mb-2.5 text-xs text-yellow">
<FontAwesomeIcon className="mr-1" size="xs" icon={faInfoCircle} />
You do not have access to any ${appName} Connections. Contact an admin to create one.
You do not have access to any {appName} Connections. Contact an admin to create one.
</p>
)}
<AddAppConnectionModal