mirror of https://github.com/buster-so/buster.git
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:
commit
5c7ce534cc
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue