mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-27 00:19:39 +01:00
feat: pass metrics to feature component (#6994)

This commit is contained in:
parent
206d0190ff
commit
b69c294272
frontend/src
component/feature/FeatureView/FeatureOverview/FeatureOverviewMetaData
interfaces
@ -109,6 +109,8 @@ const FeatureOverviewMetaData = () => {
|
||||
name: env.name,
|
||||
lastSeenAt: env.lastSeenAt,
|
||||
enabled: env.enabled,
|
||||
yes: env.yes,
|
||||
no: env.no,
|
||||
}));
|
||||
|
||||
const IconComponent = getFeatureTypeIcons(type);
|
||||
|
@ -69,6 +69,8 @@ export interface IFeatureEnvironment {
|
||||
strategies: IFeatureStrategy[];
|
||||
variants?: IFeatureVariant[];
|
||||
lastSeenAt?: string;
|
||||
yes?: number;
|
||||
no?: number;
|
||||
}
|
||||
|
||||
export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
|
||||
|
Loading…
Reference in New Issue
Block a user