mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: active flags double stale flags (#8673)
Do not count stale flags as potentially stale flags to remove duplicates. Stale flags feel like more superior state and it should not show up under potentially stale.
This commit is contained in:
parent
fa597aa340
commit
76bf6dbcb8
@ -26,10 +26,10 @@ const vitestConfig = vitestDefineConfig({
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler'
|
||||
}
|
||||
}
|
||||
}
|
||||
api: 'modern-compiler',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default mergeConfig(
|
||||
|
@ -192,7 +192,7 @@ export class ProjectReadModel implements IProjectReadModel {
|
||||
'projects.id, projects.health, ' +
|
||||
'count(features.name) FILTER (WHERE features.archived_at is null) AS number_of_features, ' +
|
||||
'count(features.name) FILTER (WHERE features.archived_at is null and features.stale IS TRUE) AS stale_feature_count, ' +
|
||||
'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE) AS potentially_stale_feature_count',
|
||||
'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE and features.stale IS FALSE) AS potentially_stale_feature_count',
|
||||
),
|
||||
'project_stats.avg_time_to_prod_current_window',
|
||||
'projects.archived_at',
|
||||
|
Loading…
Reference in New Issue
Block a user