diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 0087a509..2ac6a953 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -177,7 +177,7 @@ export default { /////////////////////////////////////////// // Turn a duration value into a display // - durationLocalized(value) { + durationLocalized(value, hideSeconds) { let theDays = 0; let theHours = 0; let theMinutes = 0; @@ -219,7 +219,7 @@ export default { window.$gz.translation.get("TimeSpanMinutes") + " "; } - if (theSeconds != 0) { + if (!hideSeconds && theSeconds != 0) { ret += theSeconds + " " + diff --git a/ayanova/src/components/data-table.vue b/ayanova/src/components/data-table.vue index 5aab73a2..a6353f17 100644 --- a/ayanova/src/components/data-table.vue +++ b/ayanova/src/components/data-table.vue @@ -282,6 +282,10 @@ {{ c.v }} + +