From 298c709a6aa18fe8aaaededdd536bdeafa67fa8f Mon Sep 17 00:00:00 2001 From: Francisco Pina Martins Date: Thu, 13 Jan 2022 16:55:21 +0000 Subject: [PATCH] Fixes the settings reading values --- apps/vectorclock/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/vectorclock/settings.js b/apps/vectorclock/settings.js index 3331b4c16..ea6ece9e9 100644 --- a/apps/vectorclock/settings.js +++ b/apps/vectorclock/settings.js @@ -19,7 +19,7 @@ min: 0, max: colvalues.length-1, format: v => colnames[v], onchange: v => { - settings.timecol = v; + settings.timecol = colvalues[v]; writeSettings(); } }, @@ -28,7 +28,7 @@ min: 0, max: colvalues.length-1, format: v => colnames[v], onchange: v => { - settings.dowcol = v; + settings.dowcol = colvalues[v]; writeSettings(); } }, @@ -37,7 +37,7 @@ min: 0, max: colvalues.length-1, format: v => colnames[v], onchange: v => { - settings.datecol = v; + settings.datecol = colvalues[v]; writeSettings(); } },