mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
feat: pass metrics to feature component (#6994)
![image](https://github.com/Unleash/unleash/assets/964450/39bb4551-dc03-4931-8a7f-cd9c0ceda056)
This commit is contained in:
parent
206d0190ff
commit
b69c294272
@ -109,6 +109,8 @@ const FeatureOverviewMetaData = () => {
|
|||||||
name: env.name,
|
name: env.name,
|
||||||
lastSeenAt: env.lastSeenAt,
|
lastSeenAt: env.lastSeenAt,
|
||||||
enabled: env.enabled,
|
enabled: env.enabled,
|
||||||
|
yes: env.yes,
|
||||||
|
no: env.no,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const IconComponent = getFeatureTypeIcons(type);
|
const IconComponent = getFeatureTypeIcons(type);
|
||||||
|
@ -69,6 +69,8 @@ export interface IFeatureEnvironment {
|
|||||||
strategies: IFeatureStrategy[];
|
strategies: IFeatureStrategy[];
|
||||||
variants?: IFeatureVariant[];
|
variants?: IFeatureVariant[];
|
||||||
lastSeenAt?: string;
|
lastSeenAt?: string;
|
||||||
|
yes?: number;
|
||||||
|
no?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
|
export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
|
||||||
|
Loading…
Reference in New Issue
Block a user