This commit is contained in:
@@ -4,6 +4,11 @@ export default {
|
||||
get(enumKey, enumValue) {
|
||||
enumKey = enumKey.toLowerCase();
|
||||
if (enumKey != "authorizationroles") {
|
||||
if (window.$gz.store.state.enums[enumKey] == undefined) {
|
||||
throw "ERROR enums::get -> enumKey " +
|
||||
enumKey +
|
||||
" is missing from store";
|
||||
}
|
||||
return window.$gz.store.state.enums[enumKey][enumValue];
|
||||
} else {
|
||||
let ret = [];
|
||||
|
||||
Reference in New Issue
Block a user