Conformance: Change backend API float-list to duration-list done.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user