File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
sdk/feature-management-applicationinsights-browser/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ export function createTelemetryPublisher(client: ApplicationInsights): (event: E
3434 let percentileAllocationPercentage = 0 ;
3535 if ( event . variant !== undefined && event . feature . allocation !== undefined && event . feature . allocation . percentile !== undefined ) {
3636 for ( const percentile of event . feature . allocation . percentile ) {
37- if ( percentile . variant === event . variant . name ) {
38- percentileAllocationPercentage += percentile . to - percentile . from ;
39- }
37+ percentileAllocationPercentage += percentile . to - percentile . from ;
4038 }
4139 }
4240 eventProperties [ "PercentileAllocationPercentage" ] = ( 100 - percentileAllocationPercentage ) . toString ( ) ;
You can’t perform that action at this time.
0 commit comments