feat: hide cancel btn
This commit is contained in:
@@ -680,7 +680,16 @@ export const RobotIntegrationPage = ({
|
|||||||
// --- MAIN RENDER ---
|
// --- MAIN RENDER ---
|
||||||
if (!selectedIntegrationType && !integrationType) {
|
if (!selectedIntegrationType && !integrationType) {
|
||||||
return (
|
return (
|
||||||
<RobotConfigPage title="Integration" onCancel={handleCancel} cancelButtonText={t("robot_edit.cancel")} showSaveButton={false} backToSelectionText={"← " + t("right_panel.buttons.back")} onBackToSelection={() => navigate(`/${robotPath}/${recordingId}/integrate`)}>
|
<RobotConfigPage
|
||||||
|
title={getIntegrationTitle()}
|
||||||
|
// onCancel={handleCancel}
|
||||||
|
cancelButtonText={t("buttons.cancel")}
|
||||||
|
showSaveButton={false}
|
||||||
|
// onBackToSelection={handleBack}
|
||||||
|
onArrowBack={handleBack}
|
||||||
|
showCancelButton={false}
|
||||||
|
backToSelectionText={t("buttons.back_arrow")}
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
|||||||
Reference in New Issue
Block a user