From ff2dce813e2ac750537963d7d059431a2d4e5cc6 Mon Sep 17 00:00:00 2001 From: aliamerj Date: Sun, 18 May 2025 16:52:18 +0300 Subject: [PATCH] remove google drive from cloud --- components/Connectors/Connectors.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/components/Connectors/Connectors.tsx b/components/Connectors/Connectors.tsx index efa7912..97cbca3 100644 --- a/components/Connectors/Connectors.tsx +++ b/components/Connectors/Connectors.tsx @@ -3,14 +3,18 @@ import { FaGoogleDrive, FaDropbox } from "react-icons/fa"; import { ConnectionBtn } from './ConnectionBtn'; import { SiAwslambda } from 'react-icons/si'; +const isCloud = process.env.DCUP_ENV === 'CLOUD'; + export const Connectors = async () => { const connectors = [ - { - id: 'google-drive', - name: 'Google Drive', - icon: , - description: 'Connect your Google Drive to access documents and files', - }, + ...(!isCloud ? [ + { + id: 'google-drive', + name: 'Google Drive', + icon: , + description: 'Connect your Google Drive to access documents and files', + }, + ] : []), { id: "dropbox", name: "Dropbox",