Merge pull request #1045 from buster-so/jacob-bus-1867-only-the-report-title-is-actually-changing

Fixing reports not switching
This commit is contained in:
Nate Kelley 2025-09-22 17:14:30 -06:00 committed by GitHub
commit 5c7ce534cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -7,10 +7,8 @@ import DynamicReportEditor from '@/components/ui/report/DynamicReportEditor';
import type { IReportEditor } from '@/components/ui/report/ReportEditor';
import { ReportEditorSkeleton } from '@/components/ui/report/ReportEditorSkeleton';
import type { BusterReportEditor } from '@/components/ui/report/types';
import { SCROLL_AREA_VIEWPORT_CLASS } from '@/components/ui/scroll-area/ScrollArea';
import { useGetScrollAreaRef } from '@/components/ui/scroll-area/useGetScrollAreaRef';
import { useMemoizedFn } from '@/hooks/useMemoizedFn';
import { useMount } from '@/hooks/useMount';
import { useEditorContext } from '@/layouts/AssetContainer/ReportAssetContainer';
import { cn } from '@/lib/utils';
import { chatQueryKeys } from '../../api/query_keys/chat';
@ -95,6 +93,7 @@ export const ReportPageController: React.FC<{
>
{report ? (
<DynamicReportEditor
key={reportId}
value={content}
placeholder="Start typing..."
className={commonClassName}