From 08a1586ef3b15166e14a35405713836e289a3842 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 6 Aug 2020 22:59:33 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 +- ayanova/src/components/gz-data-table.vue | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 1a3039da..1bd587f6 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,7 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang javascript: todo: open-object-handler.js deal with some utility types: - //TODO: FORMCUSTOMIZATION + //TODO: LIST VIEW //TODO: Items that are able to be opened from the adm-history form //need to decide to support them and if not then need to modify the message below diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 9b71d409..86d980de 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -737,7 +737,15 @@ function buildRecords(listData, columndefinitions) { column.i != 0 ) { //yes so provide the ot (openable type) info needed for the grid to make this openable - openableAyaType = column.v; + // console.log("Openable type:", column); + switch (column.v) { + //Not openable types + case 18: //DataListView + break; + default: + openableAyaType = column.v; + break; + } } // console.log("gz-data-table:buildRecords:enumtype column is ", column); // //v contains the type number and i contains the id of the record if it's an aytype enum openable