Skip to content

Commit

Permalink
feat: pass metrics to feature component (#6994)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus authored May 7, 2024
1 parent 206d019 commit b69c294
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/interfaces/featureToggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export interface IFeatureEnvironment {
strategies: IFeatureStrategy[];
variants?: IFeatureVariant[];
lastSeenAt?: string;
yes?: number;
no?: number;
}

export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
Expand Down

0 comments on commit b69c294

Please sign in to comment.