Skip to content

Commit

Permalink
fix bad flag check
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardgou-sentry committed Jan 3, 2025
1 parent 8aee7fc commit d035337
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function PerformanceScoreBreakdownChart({

const pageFilters = usePageFilters();
const handleMissingWebVitals = organization.features.includes(
'organizations:performance-vitals-handle-missing-webvitals'
'performance-vitals-handle-missing-webvitals'
);

const {data: timeseriesData, isLoading: isTimeseriesLoading} =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function PerformanceScoreRingWithTooltips({
}

const weights = organization.features.includes(
'organizations:performance-vitals-handle-missing-webvitals'
'performance-vitals-handle-missing-webvitals'
)
? getWeights(ORDER.filter(webVital => projectScore[`${webVital}Score`]))
: PERFORMANCE_SCORE_WEIGHTS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function applyStaticWeightsToTimeseries(
timeseriesData: WebVitalsScoreBreakdown
) {
const weights = organization.features.includes(
'organizations:performance-vitals-handle-missing-webvitals'
'performance-vitals-handle-missing-webvitals'
)
? getWeights(
Object.keys(timeseriesData)
Expand Down

0 comments on commit d035337

Please sign in to comment.