From f7b4cb750a7ed4592a10e0541b30135e3721ac12 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 7 Mar 2019 00:51:11 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 8 +++++--- ayanova/src/components/inventorywidgetlist.vue | 13 ++++--------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index cde1ed68..63ea5631 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -16,10 +16,12 @@ LODASH using _.has, _.forEach, _.drop TODO NEXT +Make a decision on standard procedure like in Inventorywidgetlist form and loading locale text and what to do if there is an issue. + - Just thinking maybe it's best to show form in either case of error or not because at least it's working even if the lt has an issue + - Simpler is better + - + DATETIME -- Test UTC vs local. Dates are coming in as UTC, should they display as local or UTC?? - - It is already an option to set the local time zone so the conversion should be done based on the users time zone offset both coming in and going out - - When done can make a widget with the correct date and time shown locally as per users time zone offset and will be sent to server as UTC - Test on mobile and desktop all browsers before moving on, it must be solid with error handling (required, after before etc) and etc and then if all is well we can move on to the other field types diff --git a/ayanova/src/components/inventorywidgetlist.vue b/ayanova/src/components/inventorywidgetlist.vue index 4d299383..55d96b85 100644 --- a/ayanova/src/components/inventorywidgetlist.vue +++ b/ayanova/src/components/inventorywidgetlist.vue @@ -20,7 +20,7 @@ fa-ellipsis-v - + -/* eslint-disable */ -// import localeText from "../api/locale"; -// import api from "../api/apiutil"; -import WidgetEdit from "../components/inventorywidgetedit"; +/* xeslint-disable */ export default { created() { var that = this; @@ -77,16 +74,14 @@ export default { that.$_.forEach(that.headers, function(header) { header.text = that.$gzlocale.get(header.text); }); - //this.headers[0].text = this.$gzlocale.get("WidgetName"); }) .then(() => (this.formReady = true)) .catch(err => { + this.formReady = true; //show the form anyway so we know what's what throw err; }); }, - components: { - WidgetEdit - }, + data() { return { formReady: false,