diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index a4efc53b..23ae8efc 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -48,8 +48,8 @@ All platforms and browsers - DONE Not authenticated at all 401 - DONE Redirect to login - DONE Not authorized for this object 403 (could be due to not own or whatever, we don't care, server handles that shit, client just knows not to show it) - - Object...BUT with READONLY flag of some kind present (in outer wrapper??), so client knows to show read only and not allow editing - - And client doesn't need to work out self owned etc + - DONE Object...BUT with READONLY flag of some kind present (in outer wrapper??), so client knows to show read only and not allow editing + - DONE And client doesn't need to work out self owned etc - DONE Object without readonly flag present so fully editable!!! WOOT! - Form (AND THE LIST OBJECT) should check rights and adapt accordingly - ReadFULL record but no change should show record read only @@ -126,7 +126,7 @@ TODO: Grid / LIST VIEW = I know customers will want to control what shows in the - Customers probably want the option of picking what fields show and what don't - Need to think this over, do I have defined columns or is the list just for display to select the record in which case can it just be one column with user selected values showing?? - +TODO: Outstanding case with vuetify bug in clear button when readonly, check if fixed and if it isn't might need a workaround DON'T code the user options with the currency symbol etc until after it's all been worked out client side. Use static values instad in locale. Locale should fetch those settings the first time it sees they are not present so that they are refreshed upon use and are not stored in localstorage diff --git a/ayanova/src/api/gzmenu.js b/ayanova/src/api/gzmenu.js index ff211e42..36a344c9 100644 --- a/ayanova/src/api/gzmenu.js +++ b/ayanova/src/api/gzmenu.js @@ -40,7 +40,6 @@ export default { vm.appBar.menuItems.push({ title: vm.$gzlocale.get("Logout"), icon: "sign-out-alt", - color: "pink", key: "app:logout" }); diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 49006660..f3451e96 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -151,17 +151,6 @@
- @@ -207,9 +196,6 @@ function generateMenu(vm, readOnly) { menuItems: [] }; - //eslint-disable-next-line - console.log(readOnly); - if (readOnly != true) { menuOptions.menuItems = [ { @@ -235,8 +221,7 @@ function generateMenu(vm, readOnly) { } ]; } - //eslint-disable-next-line - console.log(menuOptions); + vm.$gzevent.$emit("menu-change", menuOptions); } @@ -308,8 +293,8 @@ export default { //WATCHERS watch: { formState: { - // eslint-disable-next-line - handler: function(val, oldVal) { + handler: function(val) { + //,oldval is available here too if necessary if (this.formState.loading) { return; }