mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 10:29:52 +00:00
greptile review fixes
This commit is contained in:
@@ -35,13 +35,13 @@ export const SecretSyncSelect = ({ onSelect }: Props) => {
|
||||
const { image, name } = SECRET_SYNC_MAP[destination];
|
||||
return (
|
||||
<Tooltip
|
||||
key={destination}
|
||||
content={
|
||||
enterprise && !subscription.enterpriseSecretSyncs ? "Enterprise Plan Only" : undefined
|
||||
}
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
key={destination}
|
||||
onClick={() =>
|
||||
enterprise && !subscription.enterpriseSecretSyncs
|
||||
? handlePopUpOpen("upgradePlan")
|
||||
|
||||
+1
-1
@@ -36,6 +36,7 @@ export const AppConnectionsSelect = ({ onSelect }: Props) => {
|
||||
|
||||
return (
|
||||
<Tooltip
|
||||
key={option.app}
|
||||
content={
|
||||
enterprise && !subscription.enterpriseAppConnections
|
||||
? "Enterprise Plan Only"
|
||||
@@ -44,7 +45,6 @@ export const AppConnectionsSelect = ({ onSelect }: Props) => {
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
key={option.app}
|
||||
onClick={() =>
|
||||
enterprise && !subscription.enterpriseAppConnections
|
||||
? handlePopUpOpen("upgradePlan")
|
||||
|
||||
Reference in New Issue
Block a user