ui: fix audioplayer event start
This commit is contained in:
parent
c3585309ff
commit
35c515556e
2 changed files with 3 additions and 3 deletions
|
|
@ -42,7 +42,7 @@ function DropdownAudioPlayer({
|
||||||
return {
|
return {
|
||||||
url: data.url,
|
url: data.url,
|
||||||
timestamp: data.timestamp,
|
timestamp: data.timestamp,
|
||||||
start: startTs,
|
start: Math.max(0, startTs),
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
[audioEvents.length, sessionStart],
|
[audioEvents.length, sessionStart],
|
||||||
|
|
|
||||||
|
|
@ -265,11 +265,11 @@ const DevtoolsButtons = observer(
|
||||||
aiSummaryStore.setToggleSummary(!aiSummaryStore.toggleSummary);
|
aiSummaryStore.setToggleSummary(!aiSummaryStore.toggleSummary);
|
||||||
};
|
};
|
||||||
|
|
||||||
const possibleAudio = events.filter((e) => e.name.includes('media/audio'));
|
const possibleAudio = events.filter((e) => e.name?.includes('media/audio'));
|
||||||
const integratedServices =
|
const integratedServices =
|
||||||
integrationsStore.integrations.backendLogIntegrations;
|
integrationsStore.integrations.backendLogIntegrations;
|
||||||
|
|
||||||
const showIcons = activeTab === 'EXPORT'
|
const showIcons = activeTab === 'EXPORT';
|
||||||
const labels = {
|
const labels = {
|
||||||
console: {
|
console: {
|
||||||
icon: <CodeOutlined size={14} />,
|
icon: <CodeOutlined size={14} />,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue