This commit is contained in:
2021-03-16 23:55:46 +00:00
parent 9d8a70ee9f
commit fa2ba7b4b6
6 changed files with 10 additions and 10 deletions

View File

@@ -351,7 +351,7 @@ async function fetchTranslatedText(vm) {
// //
// //
async function populateSelectionLists(vm) { async function populateSelectionLists(vm) {
let res = await window.$gz.api.get("enum-list/list/Core"); let res = await window.$gz.api.get("enum-list/list/coreall");
if (res.error) { if (res.error) {
vm.formState.serverError = res.error; vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm); window.$gz.form.setErrorBoxErrors(vm);

View File

@@ -165,7 +165,7 @@ async function fetchTranslatedText(vm) {
// //
// //
async function populateSelectionLists(vm) { async function populateSelectionLists(vm) {
await window.$gz.enums.fetchEnumList("core"); await window.$gz.enums.fetchEnumList("coreedit");
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("core"); vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("coreedit");
} }
</script> </script>

View File

@@ -767,7 +767,7 @@ async function populateSelectionLists(vm) {
"NotifyDeliveryMethod" "NotifyDeliveryMethod"
); );
await window.$gz.enums.fetchEnumList("core"); await window.$gz.enums.fetchEnumList("coreview");
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("core"); vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("coreview");
} }
</script> </script>

View File

@@ -88,7 +88,7 @@ export default {
ret.push({ ret.push({
id: o.id, id: o.id,
eventType: window.$gz.enums.get("NotifyEventType", o.eventType), eventType: window.$gz.enums.get("NotifyEventType", o.eventType),
ayaType: window.$gz.enums.get("core", o.ayaType), ayaType: window.$gz.enums.get("coreview", o.ayaType),
deliveryMethod: window.$gz.enums.get( deliveryMethod: window.$gz.enums.get(
"NotifyDeliveryMethod", "NotifyDeliveryMethod",
o.deliveryMethod o.deliveryMethod
@@ -207,7 +207,7 @@ async function cacheEnums(vm) {
//ensure the enum values required are pre-fetched //ensure the enum values required are pre-fetched
await window.$gz.enums.fetchEnumList("NotifyEventType"); await window.$gz.enums.fetchEnumList("NotifyEventType");
await window.$gz.enums.fetchEnumList("NotifyDeliveryMethod"); await window.$gz.enums.fetchEnumList("NotifyDeliveryMethod");
await window.$gz.enums.fetchEnumList("core"); await window.$gz.enums.fetchEnumList("coreview");
} }
////////////////////// //////////////////////

View File

@@ -366,7 +366,7 @@ async function fetchTranslatedText(vm) {
// //
// //
async function populateSelectionLists(vm) { async function populateSelectionLists(vm) {
let res = await window.$gz.api.get("enum-list/list/Core"); let res = await window.$gz.api.get("enum-list/list/coreview");
if (res.error) { if (res.error) {
vm.formState.serverError = res.error; vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm); window.$gz.form.setErrorBoxErrors(vm);

View File

@@ -147,7 +147,7 @@ export default {
this.hour12 this.hour12
), ),
eventType: window.$gz.enums.get("NotifyEventType", o.eventType), eventType: window.$gz.enums.get("NotifyEventType", o.eventType),
ayaType: window.$gz.enums.get("core", o.ayaType), ayaType: window.$gz.enums.get("coreall", o.ayaType),
name: o.name, name: o.name,
userId: o.userId, userId: o.userId,
user: o.user user: o.user
@@ -275,7 +275,7 @@ async function fetchTranslatedText(vm) {
async function cacheEnums(vm) { async function cacheEnums(vm) {
//ensure the enum values required are pre-fetched //ensure the enum values required are pre-fetched
await window.$gz.enums.fetchEnumList("NotifyEventType"); await window.$gz.enums.fetchEnumList("NotifyEventType");
await window.$gz.enums.fetchEnumList("core"); await window.$gz.enums.fetchEnumList("coreall");
} }
////////////////////// //////////////////////