From a4488d44d3a7c02662197cfa0bc1bb364985c071 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 3 Mar 2021 00:50:15 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 +- ayanova/src/api/translation.js | 1 + ayanova/src/views/login.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 3e7456b4..1dbbe532 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -15,7 +15,7 @@ todo: consider if people might want to delete po's in future and not affect inve maybe if it's a archival utility or cleanup utility in future then that's an idea, but YAGNI for now todo: NOT import PO's unless they are current, active and unreceived - +todo: erase database should reset all id values if they aren't reset already so that future data doesn't result in a new PO starting at 29000 due to huge db trial seed prior diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 35daf767..098e7c1f 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -229,6 +229,7 @@ export default { "ErrorAPI2003", "ErrorAPI2004", "ErrorAPI2005", + "ErrorAPI2006", "ErrorAPI2010", "ErrorAPI2020", "ErrorAPI2030", diff --git a/ayanova/src/views/login.vue b/ayanova/src/views/login.vue index 3ae183a1..66cfaed7 100644 --- a/ayanova/src/views/login.vue +++ b/ayanova/src/views/login.vue @@ -455,7 +455,7 @@ export default { return; } //server closed by server state setting? - if (error.code == 2000 || error.code == 2001) { + if (error.code == 2000 || error.code == 2001 || error.code == 2006) { vm.formState.errorBoxMessage = error.message; return; }