diff --git a/web/src/app/app/(primary_layout)/datasets/[datasetId]/_DatasetsLayout/DatasetsIndividualHeader/DatasetIndividualThreeDotMenu.tsx b/web/src/app/app/(primary_layout)/datasets/[datasetId]/_DatasetsLayout/DatasetsIndividualHeader/DatasetIndividualThreeDotMenu.tsx index 291bc8fc6..33cf4efeb 100644 --- a/web/src/app/app/(primary_layout)/datasets/[datasetId]/_DatasetsLayout/DatasetsIndividualHeader/DatasetIndividualThreeDotMenu.tsx +++ b/web/src/app/app/(primary_layout)/datasets/[datasetId]/_DatasetsLayout/DatasetsIndividualHeader/DatasetIndividualThreeDotMenu.tsx @@ -4,7 +4,7 @@ import { BusterRoutes } from '@/routes'; import { Dropdown, DropdownItems } from '@/components/ui/dropdown'; import { Button } from '@/components/ui/buttons'; import React, { useMemo } from 'react'; -import { Dots, DotsVertical, Trash } from '@/components/ui/icons'; +import { Dots, Trash } from '@/components/ui/icons'; export const DatasetIndividualThreeDotMenu: React.FC<{ datasetId?: string; @@ -31,7 +31,7 @@ export const DatasetIndividualThreeDotMenu: React.FC<{ }, [datasetId, onDeleteDataset]); return ( - + )} - + {!readOnly && ( + + )} ); @@ -87,6 +99,7 @@ export const SQLContainer: React.FC<{ onChange={setDatasetSQL} onMetaEnter={onRunQueryPreflight} variant={null} + readOnly={readOnly} /> {error && }