From dd2095c964a8eabf0b979a3996620c88d514cd6e Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Wed, 30 Aug 2023 14:34:05 +1000 Subject: [PATCH] include job count in job history --- api/web/src/components/History.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/api/web/src/components/History.vue b/api/web/src/components/History.vue index d6110260..7a793c8b 100644 --- a/api/web/src/components/History.vue +++ b/api/web/src/components/History.vue @@ -53,10 +53,13 @@
Job ID
-
+
Updated
+ Count +
+
Attributes
@@ -82,10 +85,13 @@
Job
-
- +
+
+ +
+
@@ -135,9 +141,12 @@ export default { this.refresh(); }, methods: { - fmt: function(date) { + fmtDate: function(date) { return moment(date).tz(this.tz).format('YYYY-MM-DD'); }, + fmtNumber: function(number) { + return new Intl.NumberFormat().format(number); + }, emitjob: function(jobid) { this.$router.push({ path: `/job/${jobid}`}); },