diff --git a/frontend/app/api_client.js b/frontend/app/api_client.js
index 8b279b281..0e4699359 100644
--- a/frontend/app/api_client.js
+++ b/frontend/app/api_client.js
@@ -104,12 +104,12 @@ export default class APIClient {
post(path, params, options) {
this.init.method = 'POST';
- return this.fetch(path, params, undefined);
+ return this.fetch(path, params);
}
put(path, params, options) {
this.init.method = 'PUT';
- return this.fetch(path, params, undefined);
+ return this.fetch(path, params);
}
delete(path, params, options) {
diff --git a/frontend/app/components/Assist/Assist.tsx b/frontend/app/components/Assist/Assist.tsx
index 7aa559d43..650b64d0e 100644
--- a/frontend/app/components/Assist/Assist.tsx
+++ b/frontend/app/components/Assist/Assist.tsx
@@ -19,7 +19,7 @@ function Assist(props: Props) {
const isRecords = history.location.pathname.includes('recordings');
const redirect = (path: string) => {
- history.push(path);
+ history.push(withSiteId(path, siteId));
};
return (
@@ -30,14 +30,14 @@ function Assist(props: Props) {
id="menu-assist"
title="Live Sessions"
iconName="play-circle-light"
- onClick={() => redirect(withSiteId(assist(), siteId))}
+ onClick={() => redirect(assist())}
/>
diff --git a/frontend/app/components/Assist/AssistView.tsx b/frontend/app/components/Assist/AssistView.tsx
index 700820cbd..36e7b7137 100644
--- a/frontend/app/components/Assist/AssistView.tsx
+++ b/frontend/app/components/Assist/AssistView.tsx
@@ -1,12 +1,11 @@
import React from 'react';
import LiveSessionList from 'Shared/LiveSessionList';
import LiveSessionSearch from 'Shared/LiveSessionSearch';
-import cn from 'classnames'
import AssistSearchField from './AssistSearchField';
function AssistView() {
return (
-
+
diff --git a/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx b/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx
index e4a0fe1cb..595e6241e 100644
--- a/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx
+++ b/frontend/app/components/Assist/RecordingsList/RecordsListItem.tsx
@@ -45,9 +45,9 @@ function RecordsListItem(props: Props) {
recordingsStore
.updateRecordingName(record.recordId, recordingTitle)
.then(() => {
- toast.success('Name updated');
+ toast.success('Recording name updated');
})
- .catch(() => toast.error("Couldn't update name"));
+ .catch(() => toast.error("Couldn't update recording name"));
setEdit(false);
};
diff --git a/frontend/app/components/Session_/ScreenRecorder/ScreenRecorder.tsx b/frontend/app/components/Session_/ScreenRecorder/ScreenRecorder.tsx
index 345584e16..f1f01e5b1 100644
--- a/frontend/app/components/Session_/ScreenRecorder/ScreenRecorder.tsx
+++ b/frontend/app/components/Session_/ScreenRecorder/ScreenRecorder.tsx
@@ -89,20 +89,21 @@ function ScreenRecorder({
const recordingRequest = () => {
requestRecording();
- // startRecording()
};
- if (!isSupported())
+ if (!isSupported()) {
return (
{/* @ts-ignore */}
-
);
+ }
+
return (