diff --git a/ayanova/src/api/notifypoll.js b/ayanova/src/api/notifypoll.js index 9d6e102c..2a628a10 100644 --- a/ayanova/src/api/notifypoll.js +++ b/ayanova/src/api/notifypoll.js @@ -1,7 +1,7 @@ /* xeslint-disable */ let keepPolling = false; -const DEFAULT_POLLING_INTERVAL = 10000; +const DEFAULT_POLLING_INTERVAL = 60000; const MAX_POLLING_INTERVAL = 15 * 60 * 1000; //15 minutes maximum wait time export default { diff --git a/ayanova/src/views/ay-history.vue b/ayanova/src/views/ay-history.vue index d069e2c2..76acf41b 100644 --- a/ayanova/src/views/ay-history.vue +++ b/ayanova/src/views/ay-history.vue @@ -378,6 +378,7 @@ async function populateAyaTypeList(vm) { let item = ayt[i]; let openableObject = false; //CoreBizObject add here + //todo: centralize this if reuqired one more time anywhere switch (item.id) { case window.$gz.type.User: case window.$gz.type.Widget: diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue index a6386ab2..20334635 100644 --- a/ayanova/src/views/home-notify-subscription.vue +++ b/ayanova/src/views/home-notify-subscription.vue @@ -5,9 +5,22 @@ - {{ obj }} - ////// - {{ selectLists }} + + + @@ -87,7 +100,8 @@ export default { return { selectLists: { eventTypes: [], - deliveryMethods: [] + deliveryMethods: [], + coreAyaTypes: [] }, /* public long Id { get; set; } public uint Concurrency { get; set; } @@ -537,5 +551,8 @@ async function populateSelectionLists(vm) { vm.selectLists.deliveryMethods = window.$gz.enums.getSelectionList( "NotifyDeliveryMethod" ); + + await window.$gz.enums.fetchEnumList("core"); + vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("core"); }