Skip to content

Commit 5a54d67

Browse files
DominikB2014Claude Opus 4.6
andcommitted
fix(dashboards): Hide prebuilt dashboards from All Dashboards list
Add excludePrebuilt filter to the dashboard list API call when viewing All Dashboards. Prebuilt dashboards remain accessible via the Sentry Built tab. Refs LINEAR-DAIN-1415 Co-Authored-By: Claude Opus 4.6 <noreply@example.com>
1 parent bf8ab3a commit 5a54d67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/app/views/dashboards/manage/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ function ManageDashboards() {
208208
pin: 'favorites',
209209
per_page:
210210
dashboardsLayout === GRID ? rowCount * columnCount : DASHBOARD_TABLE_NUM_ROWS,
211-
...(isOnlyPrebuilt ? {filter: DashboardFilter.ONLY_PREBUILT} : {}),
211+
...(isOnlyPrebuilt
212+
? {filter: DashboardFilter.ONLY_PREBUILT}
213+
: {filter: DashboardFilter.EXCLUDE_PREBUILT}),
212214
},
213215
},
214216
],

0 commit comments

Comments
 (0)