From a2591db2abfbf2baaeeb1446e6da882e85537c1c Mon Sep 17 00:00:00 2001 From: chiayin Date: Mon, 11 Sep 2023 11:03:19 +0800 Subject: [PATCH] Conformance: Change backend API float-list to duration-list done. --- src/stores/conformance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/conformance.js b/src/stores/conformance.js index 15dab85..8b1f753 100644 --- a/src/stores/conformance.js +++ b/src/stores/conformance.js @@ -121,7 +121,7 @@ export default defineStore('conformanceStore', { c.completed_at = moment(c.completed_at).format('YYYY/MM/DD HH:MM'); c.facets.map(fac => { switch(fac.type) { - case 'float-list': + case 'duration-list': fac.value = fac.value.map(v => v !== null ? new Decimal(v.toFixed(2)) : null); fac.value = fac.value.join(', '); break;