mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
Change shown summary type
This commit is contained in:
@@ -95,17 +95,17 @@ export const useWebSockets = (transcriptId: string | null): UseWebSockets => {
|
|||||||
console.debug("TOPIC event:", message.data);
|
console.debug("TOPIC event:", message.data);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "FINAL_LONG_SUMMARY":
|
case "FINAL_SHORT_SUMMARY":
|
||||||
console.debug("FINAL_LONG_SUMMARY event:", message.data);
|
console.debug("FINAL_SHORT_SUMMARY event:", message.data);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "FINAL_SHORT_SUMMARY":
|
case "FINAL_LONG_SUMMARY":
|
||||||
if (message.data) {
|
if (message.data) {
|
||||||
setFinalSummary(message.data);
|
setFinalSummary(message.data);
|
||||||
const newUrl = "/transcripts/" + transcriptId;
|
const newUrl = "/transcripts/" + transcriptId;
|
||||||
router.push(newUrl);
|
router.push(newUrl);
|
||||||
console.debug(
|
console.debug(
|
||||||
"FINAL_SUMMARY event:",
|
"FINAL_LONG_SUMMARY event:",
|
||||||
message.data,
|
message.data,
|
||||||
"newUrl",
|
"newUrl",
|
||||||
newUrl,
|
newUrl,
|
||||||
|
|||||||
Reference in New Issue
Block a user