From 431d2458bf3b0d68a4ad890d8798a40f85170efd Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 20 Jul 2021 19:59:28 +0000 Subject: [PATCH] --- ayanova/src/api/locale.js | 4 ++-- ayanova/src/components/data-table.vue | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) 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 }} + +