diff --git a/src/components/robot/Recordings.tsx b/src/components/robot/Recordings.tsx index e63f5e1c..62923cf5 100644 --- a/src/components/robot/Recordings.tsx +++ b/src/components/robot/Recordings.tsx @@ -59,6 +59,7 @@ export const Recordings = ({ }; const authStatus = getAndClearCookie('robot_auth_status'); + const airtableAuthStatus = getAndClearCookie('airtable_auth_status'); const robotId = getAndClearCookie('robot_auth_robotId'); if (authStatus === 'success' && robotId) { @@ -66,6 +67,12 @@ export const Recordings = ({ handleNavigate(`/robots/${robotId}/integrate`, robotId, "", []);'' } + + if (airtableAuthStatus === 'success' && robotId) { + notify(airtableAuthStatus, t("recordingtable.notifications.auth_success")); + + handleNavigate(`/robots/${robotId}/integrate`, robotId, "", []);'' + } }, []); // Determine which modal to open based on the current route