File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
frontend/src/scenes/insights Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,9 @@ export function InsightPageHeader({ insightLogicProps }: { insightLogicProps: In
261
261
< ScenePanelActionsSection >
262
262
{ hasDashboardItemId && < SceneMetalyticsSummaryButton dataAttrKey = { RESOURCE_TYPE } /> }
263
263
264
- < SceneAddToNotebookDropdownMenu shortId = { insight . short_id } dataAttrKey = { RESOURCE_TYPE } />
264
+ { insight . short_id && (
265
+ < SceneAddToNotebookDropdownMenu shortId = { insight . short_id } dataAttrKey = { RESOURCE_TYPE } />
266
+ ) }
265
267
< SceneAddToDashboardButton
266
268
dashboard = {
267
269
hasDashboardItemId
@@ -336,7 +338,7 @@ export function InsightPageHeader({ insightLogicProps }: { insightLogicProps: In
336
338
</ ButtonPrimitive >
337
339
) }
338
340
339
- { exportContext ? (
341
+ { exportContext && insight . short_id != null ? (
340
342
< SceneExportDropdownMenu
341
343
dropdownMenuItems = { [
342
344
{
You can’t perform that action at this time.
0 commit comments