no need for sorting, the bug without sorting is better than with

This commit is contained in:
Julien Calixte
2025-01-05 22:21:52 +01:00
parent ab2669b42e
commit d7c641bf3a

View File

@@ -15,9 +15,7 @@ const featuresInProgress = computed(() =>
props.features.filter((feature) => feature.status === 'doing') props.features.filter((feature) => feature.status === 'doing')
) )
const featuresDone = computed(() => const featuresDone = computed(() =>
props.features props.features.filter((feature) => feature.status === 'done')
.filter((feature) => feature.status === 'done')
.sort((a, b) => (a.leadTime > b.leadTime ? -1 : 1))
) )
const hasFeaturesInProgress = computed( const hasFeaturesInProgress = computed(