Skip to content

Commit

Permalink
fix(admin-ui): Add missing permission to metrics widget
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jun 22, 2023
1 parent 3e9a607 commit 3353c6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/admin-ui/src/lib/dashboard/src/default-widgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const DEFAULT_WIDGETS: { [id: string]: DashboardWidgetConfig } = {
title: _('dashboard.metrics'),
supportedWidths: [6, 8, 12],
loadComponent: () => OrderChartWidgetComponent,
requiresPermissions: [Permission.ReadOrder],
},
orderSummary: {
title: _('dashboard.orders-summary'),
Expand Down

0 comments on commit 3353c6e

Please sign in to comment.