mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +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,
|
||||
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