mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
improvements: address feedback
This commit is contained in:
+1
-4
@@ -96,10 +96,7 @@ export const OrgPermissionAdminConsoleRow = ({ isEditable, control, setValue }:
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -146,10 +146,7 @@ export const OrgPermissionAppConnectionRow = ({ isEditable, control, setValue }:
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -134,10 +134,7 @@ export const OrgPermissionBillingRow = ({ isEditable, control, setValue }: Props
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -143,10 +143,7 @@ export const OrgGatewayPermissionRow = ({ isEditable, control, setValue }: Props
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -167,10 +167,7 @@ export const OrgPermissionGroupRow = ({ isEditable, control, setValue }: Props)
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -177,10 +177,7 @@ export const OrgPermissionIdentityRow = ({ isEditable, control, setValue }: Prop
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -93,10 +93,7 @@ export const OrgPermissionKmipRow = ({ isEditable, control, setValue }: Props) =
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -90,10 +90,7 @@ export const OrgPermissionSecretShareRow = ({ isEditable, control, setValue }: P
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -90,10 +90,7 @@ export const OrgRoleWorkspaceRow = ({ isEditable, control, setValue }: Props) =>
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
{PERMISSION_ACTIONS.map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-4
@@ -180,10 +180,7 @@ export const RolePermissionRow = ({ isEditable, title, formName, control, setVal
|
|||||||
</Tr>
|
</Tr>
|
||||||
{isRowExpanded && (
|
{isRowExpanded && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td
|
<Td colSpan={3} className="border-mineshaft-500 bg-mineshaft-900 p-8">
|
||||||
colSpan={3}
|
|
||||||
className={`bg-mineshaft-900 px-0 py-0 ${isRowExpanded && "border-mineshaft-500 p-8"}`}
|
|
||||||
>
|
|
||||||
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
<div className="flex flex-grow flex-wrap justify-start gap-x-8 gap-y-4">
|
||||||
{getPermissionList(formName).map(({ action, label }) => {
|
{getPermissionList(formName).map(({ action, label }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user