@eric-emg/symphiq-components 1.2.289 → 1.2.290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -59818,9 +59818,12 @@ class EditMetricTargetModalComponent {
|
|
|
59818
59818
|
};
|
|
59819
59819
|
}, ...(ngDevMode ? [{ debugName: "gapTooltip" }] : []));
|
|
59820
59820
|
this.filteredHistories = computed(() => {
|
|
59821
|
-
|
|
59821
|
+
const histories = this.targetHistories();
|
|
59822
|
+
console.log('[EditMetricTargetModal] targetHistories:', histories, 'length:', histories.length);
|
|
59823
|
+
const sorted = histories
|
|
59822
59824
|
.slice()
|
|
59823
59825
|
.sort((a, b) => new Date(b.createdDate ?? 0).getTime() - new Date(a.createdDate ?? 0).getTime());
|
|
59826
|
+
return sorted;
|
|
59824
59827
|
}, ...(ngDevMode ? [{ debugName: "filteredHistories" }] : []));
|
|
59825
59828
|
this.currentPaceProjectionTooltip = {
|
|
59826
59829
|
title: 'Current Pace Projection',
|