Skip to content
Snippets Groups Projects
Commit aca0e833 authored by Tom Robinson's avatar Tom Robinson
Browse files

Add segments/metrics to search entity

parent eb4dfc2f
Branches
Tags
No related merge requests found
......@@ -7,6 +7,8 @@ import {
DashboardSchema,
PulseSchema,
CollectionSchema,
SegmentSchema,
MetricSchema,
} from "metabase/schema";
import {
CardApi,
......@@ -29,6 +31,8 @@ export default createEntity({
dashboards: DashboardSchema,
pulses: PulseSchema,
collections: CollectionSchema,
segments: SegmentSchema,
metrics: MetricSchema,
},
(object, parent, key) => backendTypeToEntitiesName(object),
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment