feat: set recordingId

This commit is contained in:
karishmas6
2024-10-10 04:29:24 +05:30
parent 5d90716413
commit 7ee12216db

View File

@@ -42,7 +42,7 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
let aborted = false;
const { notify, setRerenderRuns } = useGlobalInfoStore();
const { notify, setRerenderRuns, setRecordingId } = useGlobalInfoStore();
const abortRunHandler = (runId: string) => {
aborted = true;
@@ -58,6 +58,7 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
const setRecordingInfo = (id: string, name: string) => {
setRunningRecordingId(id);
setRecordingId(id);
setRunningRecordingName(name);
}