This commit is contained in:
2020-03-18 19:56:58 +00:00
parent 91d5570223
commit ebfd2b9dee
6 changed files with 55 additions and 78 deletions

View File

@@ -9,11 +9,11 @@ export default {
//
// Used by forms to fetch picklist data
//
getPickList(enumKey) {
getSelectionList(enumKey) {
enumKey = enumKey.toLowerCase();
var e = window.$gz.store.state.enums[enumKey];
if (!e) {
throw "ERROR enums::getPickList -> enumKey " +
throw "ERROR enums::getSelectionList -> enumKey " +
enumKey +
" is missing from store";
}