mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
chore: optimize import path, add comment context and removed commented out code
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
export * from "./GitHubSyncSelectedRepositoriesTooltipContent";
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ export type OrgPermissionSet =
|
|||||||
| [OrgPermissionActions, OrgPermissionSubjects.AuditLogs]
|
| [OrgPermissionActions, OrgPermissionSubjects.AuditLogs]
|
||||||
| [OrgPermissionActions, OrgPermissionSubjects.ProjectTemplates]
|
| [OrgPermissionActions, OrgPermissionSubjects.ProjectTemplates]
|
||||||
| [OrgPermissionActions, OrgPermissionSubjects.AppConnections];
|
| [OrgPermissionActions, OrgPermissionSubjects.AppConnections];
|
||||||
|
// TODO(scott): add back once org UI refactored
|
||||||
// | [
|
// | [
|
||||||
// OrgPermissionAppConnectionActions,
|
// OrgPermissionAppConnectionActions,
|
||||||
// (
|
// (
|
||||||
|
|||||||
-4
@@ -86,10 +86,6 @@ export const NativeIntegrationsTab = () => {
|
|||||||
isIntegrationsEmpty
|
isIntegrationsEmpty
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// useEffect(() => {
|
|
||||||
// setView(integrations?.length ? IntegrationView.List : IntegrationView.New);
|
|
||||||
// }, [isIntegrationsFetched]);
|
|
||||||
|
|
||||||
const handleProviderIntegration = async (provider: string) => {
|
const handleProviderIntegration = async (provider: string) => {
|
||||||
const selectedCloudIntegration = cloudIntegrations?.find(({ slug }) => provider === slug);
|
const selectedCloudIntegration = cloudIntegrations?.find(({ slug }) => provider === slug);
|
||||||
if (!selectedCloudIntegration) return;
|
if (!selectedCloudIntegration) return;
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github/GitHubSyncSelectedRepositoriesTooltipContent";
|
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github";
|
||||||
import {
|
import {
|
||||||
GitHubSyncScope,
|
GitHubSyncScope,
|
||||||
GitHubSyncVisibility,
|
GitHubSyncVisibility,
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ import { faInfoCircle } from "@fortawesome/free-solid-svg-icons";
|
|||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
|
||||||
import { SecretSyncLabel } from "@app/components/secret-syncs";
|
import { SecretSyncLabel } from "@app/components/secret-syncs";
|
||||||
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github/GitHubSyncSelectedRepositoriesTooltipContent";
|
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github";
|
||||||
import { Tooltip } from "@app/components/v2";
|
import { Tooltip } from "@app/components/v2";
|
||||||
import {
|
import {
|
||||||
GitHubSyncScope,
|
GitHubSyncScope,
|
||||||
|
|||||||
Reference in New Issue
Block a user