From 869322032e9bee05c6f210ddebdaab1e9a324c3c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 16 Nov 2018 00:59:10 +0000 Subject: [PATCH] --- app/ayanova/src/utils/logit.js | 3 +++ app/ayanova/src/views/log.vue | 4 ++-- devdocs/todo.txt | 15 +++++++++++---- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/ayanova/src/utils/logit.js b/app/ayanova/src/utils/logit.js index 9c6e310e..0fe86783 100644 --- a/app/ayanova/src/utils/logit.js +++ b/app/ayanova/src/utils/logit.js @@ -14,5 +14,8 @@ export default { msg = Date.now() + "|" + msg; buffer.push(msg); store.commit("setLog", buffer.toArray()); + }, + getLogText(){ + //TODO: iterate the array from store, convert timestamps to local date and time and arrange as a block of multiline text to display in the UI } }; diff --git a/app/ayanova/src/views/log.vue b/app/ayanova/src/views/log.vue index 15da95ec..3d0e64e0 100644 --- a/app/ayanova/src/views/log.vue +++ b/app/ayanova/src/views/log.vue @@ -7,7 +7,7 @@