feat: rm display integrations scrape robot
This commit is contained in:
@@ -731,11 +731,10 @@ export const RobotIntegrationPage = ({
|
|||||||
width: "100%",
|
width: "100%",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
{!isScrapeRobot && (
|
||||||
<Button
|
<Button
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
disabled={isScrapeRobot}
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (isScrapeRobot) return;
|
|
||||||
if (!recordingId) return;
|
if (!recordingId) return;
|
||||||
setSelectedIntegrationType("googleSheets");
|
setSelectedIntegrationType("googleSheets");
|
||||||
setSettings({ ...settings, integrationType: "googleSheets" });
|
setSettings({ ...settings, integrationType: "googleSheets" });
|
||||||
@@ -746,20 +745,23 @@ export const RobotIntegrationPage = ({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
background: 'white',
|
background: "white",
|
||||||
color: isScrapeRobot ? "#aaa" : "#ff00c3",
|
color: "#ff00c3",
|
||||||
opacity: isScrapeRobot ? 0.5 : 1,
|
|
||||||
cursor: isScrapeRobot ? "not-allowed" : "pointer",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img src="https://ik.imagekit.io/ys1blv5kv/gsheet.svg" alt="Google Sheets" style={{ margin: "6px" }} />
|
<img
|
||||||
|
src="https://ik.imagekit.io/ys1blv5kv/gsheet.svg"
|
||||||
|
alt="Google Sheets"
|
||||||
|
style={{ margin: "6px" }}
|
||||||
|
/>
|
||||||
Google Sheets
|
Google Sheets
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{!isScrapeRobot && (
|
||||||
<Button
|
<Button
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
disabled={isScrapeRobot}
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (isScrapeRobot) return;
|
|
||||||
if (!recordingId) return;
|
if (!recordingId) return;
|
||||||
setSelectedIntegrationType("airtable");
|
setSelectedIntegrationType("airtable");
|
||||||
setSettings({ ...settings, integrationType: "airtable" });
|
setSettings({ ...settings, integrationType: "airtable" });
|
||||||
@@ -770,15 +772,19 @@ export const RobotIntegrationPage = ({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
background: 'white',
|
background: "white",
|
||||||
color: isScrapeRobot ? "#aaa" : "#ff00c3",
|
color: "#ff00c3",
|
||||||
opacity: isScrapeRobot ? 0.5 : 1,
|
|
||||||
cursor: isScrapeRobot ? "not-allowed" : "pointer",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img src="https://ik.imagekit.io/ys1blv5kv/airtable.svg" alt="Airtable" style={{ margin: "6px" }} />
|
<img
|
||||||
|
src="https://ik.imagekit.io/ys1blv5kv/airtable.svg"
|
||||||
|
alt="Airtable"
|
||||||
|
style={{ margin: "6px" }}
|
||||||
|
/>
|
||||||
Airtable
|
Airtable
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
|
|
||||||
<Button variant="outlined" onClick={() => {
|
<Button variant="outlined" onClick={() => {
|
||||||
if (!recordingId) return;
|
if (!recordingId) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user